Thursday, September 13, 2007

Haskell - A new perspective

after nearly a week , I have studied Haskell.
Peter, gave me a lot of work, some notes, things to do , to think about
Now it's time to review what I have learned
I spend 1 week on reading all notes in 4 week. Not big deal. OK
Some important concepts
Value
Type
Function
Module
Eg:
module Sample
where
square :: Int -> Int
square x = x*x

No comments: