28 ms·
I think the unreadability is a consequence of libraries defining their own infix operators left and right. E.g. according to hoogle >*< is an operator for three
by KSteffensen 6y ago
I think the unreadability is a consequence of libraries defining their own infix operators left and right. E.g. according to hoogle >*< is an operator for three different libraries.
Maybe this makes sense once you are very familiar with a library (like for example if you are a library dev), but if you are trying to learn a new library it makes for pretty much unreadable code.
- jgwil2 6y agoOne thing that irks me as someone who has dabbled in Haskell is not knowing how I should pronounce infix operators like <*> or <?> as I'm reading a line to myself.
- johnday 6y ago<star> is pronounced either "ap" or "and" depending on context. For example div <$> (Just 5) <star> (Just 7) Would be pronounced "map div over Just 5 and Just 7".
- whateveracct 6y agoI never read operators in my head, so the answer is "no pronunciation at all" I'd say learning Haskell caused me to read code without using words.