Software Engineering discussion

13 views
Learn You a Haskell > Believe the Type

Comments Showing 1-4 of 4 (4 new)    post a comment »
dateUp arrow    newest »

message 1: by [deleted user] (new)

Based on my limited prior Haskell experience, I second the recommendation to include type signatures, even though they are optional. LIke:

factorial :: Integer -> Integer

Haskell is a very strongly typed language. It took me a long time to get my first non-toy program to compile, but once it did it ran correctly.


message 2: by Aleksander (new)

Aleksander Shtuk | 84 comments First time I read this chapter, the idea of Typeclasses appeared to be very clear to me. But then, moving forward in this book, I had to come back few times to review this information again.

Also, Real World Haskell book contains more examples and exercises. Free online version of that book contains inserted comments and even full discussions for each paragraph where readers can ask and answer questions. I think it was very interesting idea for building knowledge, especially in such literature.


message 3: by [deleted user] (new)

I agree that Real World Haskell is a good book too. For me, it wasn't the best choice for a first book, but it is one I would recommend after a more basic one, like this one.


message 4: by Erik (new)

Erik | 165 comments I liked these optional suggestions. They seem like very useful debug statements. I'm not highly skilled with weak typed or typeless languages, so something like this seems very helpful to beginners like me.


back to top