haskell / play-haskell

Haskell Playground
129 stars 8 forks source link

Playground Templates #16

Open liamzee opened 1 year ago

liamzee commented 1 year ago

Feature request

Having had the pleasure of tomsmeding on IRC providing me with a Free $ Free Monad $ Tutorial exercise, I think that, first, his exercises are excellent, second, the idea could get traction.

Haskell Playground might benefit from being able to set up templates, for both exercises, prototyping, and random play, so that users can generate a playground and mess around with code both for joy and learning.

This would also help the Haskell community a lot because when we deal with newbie questions, it might be useful to simply link them to an exercise book on Haskell Playground.

===

There is, of course, the Codewars and Exercism alternative, but those have curation and thus make it more difficult to create exercises.

ivanperez-keera commented 1 year ago

Is this different from creating pages with code with (semi) permanent URLs (like this: https://play.haskell.org/saved/AxrDEVyh), and sharing those URLs?

I could see myself having a list of URLs to specific Haskell files inside play-haskell, as part of a tutorial.