Re: [Haskell-cafe] extreme newbie: hugs prompt vs load module

2006-08-23 Thread Robert Dockins
On Aug 23, 2006, at 10:16 AM, George Young wrote: [linux, ghci 6.4.3.20060820, hugs May 2006] I have just started learning Haskell. I have hugs and ghci under linux, and I'm going through the Gentle Introduction to Haskellhttp://www.haskell.org/tutorial, so far through section 4, case

Re: [Haskell-cafe] extreme newbie: hugs prompt vs load module

2006-08-23 Thread Brandon Moore
George Young wrote: [linux, ghci 6.4.3.20060820, hugs May 2006] I have just started learning Haskell. I have hugs and ghci under linux, and I'm going through the Gentle Introduction to Haskellhttp://www.haskell.org/tutorial, so far through section 4, case expressions and pattern matching. I'm

Re: [Haskell-cafe] extreme newbie: hugs prompt vs load module

2006-08-23 Thread Bulat Ziganshin
Hello George, Wednesday, August 23, 2006, 6:16:12 PM, you wrote: I'm confused about what sort of things I can type at the interpreter prompt, and what things have to be loaded as a module. I keep trying to treat the prompt like a lisp or python REPL, which is obviously wrong. Can someone

Re: [Haskell-cafe] extreme newbie: hugs prompt vs load module

2006-08-23 Thread Shao Chih Kuo
You can always load things inside ghci with: :m i.e. Prelude :m List Prelude List :m Control.Concurrent Prelude Control.Concurrent :m Control.Concurrent List Prelude List Control.Concurrent George Young wrote: [linux, ghci 6.4.3.20060820, hugs May 2006] I have just started learning Haskell.