Re:What I Wish I Knew When Learning Haskell
by jkrems on Saturday December 07, 2013 @08:24PM
(#6868564)
No, see below, I just think that if you write something is "easy to understand" and then you go on and explain it using unknown (to the reader) symbols without given the symbols pronounceable names, you're doing it wrong. One of the tricks that helped me most when learning more advanced math was to learn "reading"/"pronouncing" formulas first and understanding them second. It feels very nice and intuitive. That's why I'm always annoyed when people explain something using very domain-specific symbols and don't provide any way to "read" them.
Re:What I Wish I Knew When Learning Haskell
by codygman on Saturday December 07, 2013 @09:01PM
(#6868666)
I misunderstood your parent comment then I think. I prefer the Haskell tutorials (especially for beginners) that use the function and then provide the shorthand symbol to do it with.
You can also search those symbols on Hoogle[1] or if it is a builtin keyword the Haskell keywords page[2] can be useful.
1. http://www.haskell.org/hoogle/ 2. http://www.haskell.org/haskellwiki/Keywords
> How is "m >>= f" pronounced?
If I'm not mistaken ">>=" is the bind function and could be written like:
Meaning that "m >>= f" is pronounced as "bind m to f". What it's doing is: Are you saying that a language that uses symbols isn't a language? Is Japanese a language since it uses symbols (glyphs? correct me if I'm wrong).If you are talking about programming languages specifically, do you believe that "plus" should be used in place of "+"? Now I'm not going to get absurd and assume you mean using "parenthesis_start" in place of "(", but just in case... I will ask if you are.
Also, in Haskell specifically there are matching functions for those.