|
|
|
|
|
by papsosouid
4841 days ago
|
|
>'<>', '>>=', '=<<', '>>>' off the top of my head. None of those have anything to do with the type system though. That's why I called your statement nonsense. They are just ordinary operators like + and -. The habit of claiming everything you dislike about haskell is somehow related to the type system is quite common and rather bizarre. >The reasons this stuff makes code hard to read (for me) are The reason is because you haven't learned haskell. If you had never learned arithmetic then 5 + 3 * 7 would make no sense too. That doesn't mean math is hard to understand, it just means you need to take the time to learn it. >They're all infix and I don't know the precedence. Use :info in ghci, or look it up on hoogle. Just like you would with a function you aren't familiar with. :info (<*>)
infixl 4 <*>
Left associative, precedence 4. Addition is 6, multiplication is 7.>It's not restricted to standard-library code. Lots of languages let you write new operators. If a library creates tons of operators that reflects on the library, not the language. |
|