Hacker News new | past | comments | ask | show | jobs | submit login

> and apparently I'm never going to understand Haskell

I found this introduction to the concepts of functional programming (functional composition) to be useful:

https://www.youtube.com/watch?v=ZhuHCtR3xq8

Otherwise, it's just a different way of thinking about problems. Instead of building things structurally as an object of objects, and then creating functions that relate, transform, or describe the relationships between the object structures (like taking a pixel object, altering it's x coordinate, and returning the new pixel object with only the x coordinate altered), one has functions that can be composed with other functions to produce more complex object structures. A single base unit with a sequence of functional compositions can describe a very fancy, complex unit, with many fancy, complex characteristics.

>> Monads have also been explained with a physical metaphor as assembly lines, where a conveyor belt transports data between functional units that transform it one step at a time.[2] They can also be seen as a functional design pattern to build generic types.[3]

http://en.wikipedia.org/wiki/Monad_%28functional_programming...

Otherwise, it's syntax and semantics, which I generally find annoying, but there's always google and books.

http://www.haskellcraft.com/craft3e/Home.html




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: