A quick and dirty example: data Exp = Lit Int — literal value | Call String Exp — calling a function | Bin BinOp Exp Exp — binary operations | Param — the parameter deriving (Show,Eq) data Function = Func String Exp — a function has a name and expression data BinOp = Add [...]
Pages
Tags
.net bind9 Books Broken C# C# code comparison Cool criticism Critique csharp Default Development DNS Firefox Functional programming Game GNOME Haskell horrid Java Links Linux massey Mathematics Me Mono music Odd Programming Reference Review self short silly snippet Thought thoughts Types Ubuntu Unicode Unix Work XMLCategories
Archives
