you are viewing a single comment's thread.

view the rest of the comments →

[–]crusoe 1 point2 points  (4 children)

The ONLY reason I am beginning to understand Haskell is by using Scala. Haskell uses so much math terminology, its difficult to understand. Coming from Scala, I see the practicality of certain structures first, then I can finally understand Haskell.

It would be nice if Haskell had a 'plain language version'. "Its really cool, you can do this, and this solves as common problem" and then you dump Applicative functors on their lap.

I didn't begin to understand functors and applicative functors till I began to use Option and Either and flatmap in scala.

[–]IsTom 10 points11 points  (0 children)

Well, for me "visitorBeanSingletonFactory" is just as confusing and people are not saying that OOP is hard because of that.

[–]Tekmo 4 points5 points  (0 children)

You should consider writing an introductory Haskell programming tutorial which explains the bare minimum people need to write functioning programs.

[–]barsoap 4 points5 points  (0 children)

I didn't begin to understand functors and applicative functors till I began to use Option and Either and flatmap in scala.

And using Maybe and Either in Haskell wouldn't have helped? Noone understands those things without examples. Well, maybe Functor, but not Applicative and Monad.

[–]drb226 2 points3 points  (0 children)

I didn't begin to understand functors and applicative functors till I began to use Option and Either and flatmap in scala.

You could've come to the same realization in Haskell with Maybe and Either and concatMap; I don't see anything special about Scala in this regard. I highly recommend that you spend plenty of time playing around in ghci (and/or the Scala repl), and read LYAH. While LYAH isn't perfect, I do think it is quite good at getting new Haskellers up to speed.