Coding Problems!! Please help
Jack Tsai
sesamejt@hotmail.com
Wed, 17 Apr 2002 07:52:40 +0000
Dear staff,
I am currently working on an assignment with requires us to write in
Haskell. I am having trouble with "pipeline". The required textbook called,
"The Craft of Functional Programming" 2nd Edition. There is a pipeline
example, which I find it useful in my assignment, but for some reason, there
may be a typo in the pipeline syntax, which is ">.>". Coz it doesn't compile
@_@
I have attached a file of the example, I found from the book. There is a
website where I could download the entire book. It's got the same stuff as
in my textbook. Please help me, coz i've tried even Unix's pipeline syntax
which is obviously wrong... I'm not desperate, please reply, thank you very
much.
Sincerely,
Jack
This is the output of the compilor...
/*********************************************************************/
Haskell 98 mode: Restart with command line option -98 to enable
Reading file "C:\PROGRAM FILES\HUGS98\lib\Prelude.hs":
Parsing........................................................
Dependency analysis............................................
Type checking..................................................
Compiling......................................................
Reading file "E:\433\CHAPTE~1.LHS":
Parsing........................................................
Dependency analysis
ERROR "E:\433\CHAPTE~1.LHS" (line 22): Undefined variable ">.>"
Prelude>
/**********************************************************************/
_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com