Re:Grain: A strongly-typed functional programming language f...
by agucova on Sunday April 25, 2021 @01:44AM
(#26930565)
I've always thought not having a code example easily accessible is a red flag for a new language. I took my 10+ clicks to finally find a Hello World.
[ Parent
| on HN ]
Re:Grain: A strongly-typed functional programming language f...
by grok22 on Sunday April 25, 2021 @01:15PM
(#26934436)
I've always found Pyret's home-page the best at this: https://www.pyret.org/ -- I wish this was more than just an educational language.
Re:Grain: A strongly-typed functional programming language f...
by diamond_hands on Sunday April 25, 2021 @07:10AM
(#26931876)
It's two clicks. "Let's Go", then "Hello World"
Re:Grain: A strongly-typed functional programming language f...
by hutrdvnj on Sunday April 25, 2021 @09:03AM
(#26932373)
I think a hello world example is insufficient. I would like to see some more code examples, especially some that are useful in the real world for building websites. It doesn't have to be a fully functional hacker news clone in Grain, but it should definitely be a little bit more than hello world.
Re:Grain: A strongly-typed functional programming language f...
by tgv on Sunday April 25, 2021 @09:21AM
(#26932481)
It isn't only insufficient by far, it's the only complete code example. There's as good as nothing else. The chapter on control structures isn't even there. There are some cryptic remarks on mutation, but that's it.