sifflet-2.3.0: Simple, visual, functional language for learning about recursion.

Safe HaskellNone
LanguageHaskell2010

Language.Sifflet.SiffML

Description

SiffML : Sifflet Markup Language. An XML application for storing and retrieving Sifflet programs and libraries.

Synopsis

Documentation

class ToXml a where Source

Methods

toXml :: a -> XMLProducer Source

Instances

ToXml Function Source

Functions

ToXml Functions Source 
ToXml Type Source

Types

ToXml Value Source

Values Still used in exprToXml in the EList case :-(

ToXml Expr Source

Expr

ToXml Symbol Source

Symbols

consumeSiffMLFile :: XMLConsumer XmlTree a -> FilePath -> IO [a] Source

testFromXml :: (ToXml a, Show b) => Int -> a -> XMLConsumer XmlTree b -> IO () Source

testFromXml :: (ToXml a, Show a) => a -> XMLConsumer XmlTree a -> IO () VVV This type generalization (a, a to a, b) is for debugging, undo it later: