Rustlings for Haskell ? Go By Example for Haskell? go.dev/tour for Haskell

Hi
I recently started learning Haskell and I would like the official website haskell.org, to have these resources under docs.
The docs page is a source which links to other places, but I wonder why the official website itself doesn’t have any guides/tutorials ?

On a side note, if the community can come up with something like Haskellets which will be quite practical not just academical, which will enforce you to use standard set of libraries for a particular challenge, this could make the learning experience better and more home-y as this would all be done by the comitte and the official site.

Finally I will always pitch in the idea of a Standard book like the Rust Book to be there for free, this is a game changes, because this will be maintained by the comittee and it will be up-to-date with all the crazy extensions of GHC.

But I wish to know why there are no guides/tutorials ? Every website has this!
Roc-lang has a very nice website. We must take some inspiration from there!

7 Likes

At Documentation > Tutorials there are seven links. Are you saying you’d like to see a tutorial that feels like it’s part of the Haskell.org site, and more “official” ?
(I agree that https://roc-lang.org’s tutorial feels far more immediate and friendly and up to date. Though also a little garish..).

Here is the closest thing to Go by example: The Haskell Phrasebook

And here’s another good intro that I think we should promote more: Learn Haskell in Y Minutes.
This is the only Haskell doc with many translations, I believe (11 languages).

[PS and here are the closest things to the Rustlings exercises:
https://github.com/kowainik/learn4haskell or https://exercism.org/tracks/haskell/exercises.

When you forget these, you can find them again via https://joyful.com/Haskell+map.]

5 Likes

A Long Time Ago (In A Galaxy Far Far Away 10^-6 seconds after the Big Bang), the official tutorial was A Gentle Introduction to Haskell. But no one likes it now (or even since 379000 years after the Big Bang).

As for why there is no new replacement that people like, may I tell you an Aesop fable?

At the International Conference of Mouse Security, the mice of the world passed two resolutions:

  1. A bell is worn on the neck of the cat, so that every mouse gets early warning whenever the cat is nearby.
  2. Someone else should do it.
2 Likes

That one is great! Very practically oriented for getting things up and running. I don’t see it listed at Documentation nor Get Started

I’ve though about doing exactly that after my semester ends, a “Rustlings for Haskell”. If anyone else is interested, it would be nice to try to create exactly that.

Concrete code examples, ready to be corrected and run, is a style of learning resource that in traditional books, usually (in my experience) requires an “unsexy” setting up of projects, libraries, etc. When I did rustlings however, I felt that it was very well done project, that introduces you to the language without any fuss. Maybe this could capture the crowd that would also be interested in “Learn Haskell in Y Minutes” but wants a more modern take in learning resources.

4 Likes

I’m definitely interested! Let’s get in touch and figure out how we can start planning it together.

2 Likes

Added a couple more links above.

Sorry for late reply, I mean yep
Presented by the committe itself.

add me in too guys.
will defo learn about Haskell! <3

1 Like

I couldn’t resist and made a rough start here: GitHub - 0rphee/haskellings (though I think i left it without being able to compile it…) @Ei30metry @dawkrish

Anyone and everyone is welcome to contribute!

3 Likes

This is an excellent resource.

3 Likes