3 ms·
For the syntax, this article might help you: http://blog.ezyang.com/2011/11/how-to-read-haskell/ http://blog.ezyang.com/2011/11/how-to-read-haskell/ I persona
by yogsototh 12y ago
For the syntax, this article might help you:
http://blog.ezyang.com/2011/11/how-to-read-haskell/ http://blog.ezyang.com/2011/11/how-to-read-haskell/
I personally continue to find many Haskell library code hard to read.
But if you make some effort you own code can be quite readable.
Unfortunately I don't know if there is any guideline to make your Haskell code more readable.
For example, I'll be glad to get some advices regarding the following questions:
- When to use type synonyms/data/records/tuples/lists for containers?
- How to name your variables, type variables?
- When to split your code between a long one-line or many
small named functions?
- When to split your code in many different modules?
- etc...