3 ms·
That's main Haskell strength: there often is a library in Haskell for what is language feature in other languages.
by thesz 3y ago
That's main Haskell strength: there often is a library in Haskell for what is language feature in other languages.
- cubefox 3y agoNot sure this is a strength, it sounds like Java.
- EdwardDiego 3y agoCould well be a strength of Java ;)
- thesz 3y agoYes, it is a strength. You may want a new control operator. In case of, say, Java, you go and ask language developers. In case of Haskell, you write a function or a bunch of functions. "if-then-else" can be implemented in Haskell as a function, for one example. Myself, I created a lot of these control operators when I worked with Haskell. I also used a lot of operators defined by others.
- cubefox 3y agoThis is cool, but in practice there are restrictions on syntax and grammar which limit what you can do compared to native "syntactic sugar".
- deleted 3y ago[deleted]