Hacker News new | ask | show | jobs
by staticassertion 1739 days ago
https://pen-lang.org/examples/types/function.html

Took just a bit of searching to find some code examples.

2 comments

These black slashes looks so weird
...it's more popular with languages using the "ML" syntax.

https://en.wikipedia.org/wiki/ML_(programming_language)

It'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.
Really, 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.

afaict, they mean "lambda"

I expect that there will be an Emacs/Vi/VSCode/... mode to render them as such.

And I can't find a "hello world" or example project at all...