Beginning this March, I'll lead a new high-school functional programming course, consisting mostly of writing simple 2D games. I can't decide which of these three languages would be best suited for it. Does anybody have experience with any of them? What did you like? What did you not? What should I use?
The students are a bunch of talented high-schoolers, however they only picked up programming this September. That means good tooling and a friendly compiler are paramount, because they'll often be leaning on both.
I don't have experience with any of the languages, but I write Haskell and Typescript for living, so I should be able pick these up rather quickly. Because I know Haskell so well, I lean towards PureScript, but I don't want to base my decision only on this.
There is no beating it's compiler for error messages, tooling and extensive beginner friendliness.
Elm is how I learned functional programming and to build 2D games there are many libraries to choose from, you can use the simplest one of them created by the elm author himself
Elm playground https://package.elm-lang.org/packages/evancz/elm-playground/...
Speaking of typeclasses not being in elm, I think one can appreciate them better when the things they provide have to be manually written.