From: Louis J Scoras Date: 2006-11-09T21:00:38+09:00 Subject: Re: [QUIZ] Bytecode Compiler (#100) On 11/9/06, Ross Bamford wrote: > > Aww man, now I'm gonna have to look into Haskell a bit more :) I've been > putting it off for a while, but this is too cool to not have a play > with! You won't be disappointed. Haskell is an amazingly cool language. > Because I'm currently Haskell-ignorant, however, I don't know how to run > your solution :( . What interpreter (or compiler?) should be used? I > have Hugs installed, but that complains about a "Syntax error in input > (unexpected backslash (lambda))" at line 1. It looks like its supposed to be embedded in LaTeX. Just remove the first and last lines since the TeX directives look like lambdas to Haskell. \x -> x * x <==> lamba {|x| x*x} Also, Haskell is very picky about formatting. Your going to get a bunch of errors because of line wraps. -- Lou.