If you are trying to use ghci or similar, You probably ran into the same problem I did when I started trying the tutorials. Apparently you can not define functions in the interactive Haskell environment. The tutorials are not clear on that, and I really don't understand why you can't do that.
On Nov 1, 2005, at 11:27 AM, Matt Mower wrote:
On 01/11/05, Scott Barron email@example.com wrote:
On Oct 31, 2005, at 6:06 PM, Matt Mower wrote:
Anyone working on a bundle for Haskell?
Indeed, Jamis Buck just blogged about starting one!
That's great, many thanks for the link. It may actually have been one of Jamis' posts that got me to take a (first) look at Haskell last night.
So far I can't actually get any code to run in the GHC interpreter, something about my functions not being in scope... a most confusing start, worse even than Lisp :-)
-- Matt Mower :: http://matt.blogs.it/
For new threads USE THIS: firstname.lastname@example.org (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate