How can I learn Haskell in reading and writing small projects?

Then try H-99: Ninety-Nine Haskell Problems. do them seriously, do not look at the solutions until you have managed to solve the problem correctly. Solutions are not for situations like "gosh, I really cannot do this". In that case keep trying/do other problems, and come back in a few weeks or a month, do not look at the solution. Only after you got your own functioning solution you should look at the proposed solution and compare it with yours. This will help in learning how to solve the problems and also how to express things in different/better ways

Answer by Andrea Ferro:

You will never get "familiar" with haskell by reading. Not even if you read every single book ever written on Haskell.
You'll need to actually write code. And a lot of it. You'll start getting some familiarity after 4~6 months of practical tinkering with Haskell, and begin to get decently comfortable after about one year. That's when you'll start learning the "hard parts".
If you did not do the exercises in those books, start by doing them.
Then try H-99: Ninety-Nine Haskell Problems. do them seriously, do not look at the solutions until you have managed to solve the problem correctly. Solutions are not for situations like "gosh, I really cannot do this". In that case keep trying/do other problems, and come back in a few weeks or a month, do not look at the solution. Only after you got your own functioning solution you should look at the proposed solution and compare it with yours. This will help in learning how to solve the problems and also how to express things in different/better ways.
Then start using Haskell for simple problems. Either things you "make up" yourself or real simple problems you face (the kind you'd normally solve with bash or sed or similar tools).
Eventually grow to more complex problems. And take your time. It's not going to happen overnight.

How can I learn Haskell in reading and writing small projects?

Advertisements

Leave a comment

Filed under Life

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s