3 ms·
https://pen-lang.org/examples/types/function.html https://pen-lang.org/examples/types/function.html Took just a bit of searching to find some code examples.
by staticassertion 5y ago
https://pen-lang.org/examples/types/function.html https://pen-lang.org/examples/types/function.html
Took just a bit of searching to find some code examples.
- pknerd 5y agoThese black slashes looks so weird
- cies 5y ago...it's more popular with languages using the "ML" syntax. https://en.wikipedia.org/wiki/ML_(programming_language) https://en.wikipedia.org/wiki/ML_(programming_language)
- Zababa 5y agoIt's not the ML syntax, it's almost only a Haskell thing, and while Haskell is a descendant of ML, it's a language on its own.
- Yoric 5y agoafaict, they mean "lambda" I expect that there will be an Emacs/Vi/VSCode/... mode to render them as such.
- amw-zero 5y agoReally, this is why we can’t make any progress. Because this is such a common response to anything. Go back to when you learned your first programming language. EVERYTHING was weird. I honestly don’t understand how after that, brains solidify and think anything after their first year of learning is weird.
- saulrh 5y agoAnd I can't find a "hello world" or example project at all...