I really wish someone would create something like https://cdecl.org/ but for programs in Haskell/Idris/etc.
EDIT: On the article itself, I wonder how much time does it take to compile the resulting program?
I really wish someone would create something like https://cdecl.org/ but for programs in Haskell/Idris/etc.
EDIT: On the article itself, I wonder how much time does it take to compile the resulting program?
Resources:
http://docs.idris-lang.org/en/latest/tutorial/index.html
https://www.manning.com/books/type-driven-development-with-i...
Elm is purely functional and shares your design sensibilities on this.
It is less terse (by design) than other purely functional languages and (as of the upcoming release) does not support user-defined operators.
I know plenty of folks who got into Elm and then found Haskell and Idris much easier to approach, so it can unlock further learning too!
It's honestly why I think avoiding operator overloading in Java/Go etc was a great idea.
C# is not a language that is generally criticized for operator soup like the ones that support custom operators.
* C++ uses bitshift operators for IO. The (in?)famous
std::cout << "hello world" << std::endl;
Which is such an improvement over puts("hello world");
* Ruby on Rails components sometimes redefines `=` as a hash merge. E.g. this config.action_mailer.default_options = {from: 'no-reply@example.com'}
actually adds `from` to the default options instead of overriding it completely.