DEV Community

Cover image for Write You a Haskell
Jacob Herrington (he/him)
Jacob Herrington (he/him)

Posted on • Updated on

Write You a Haskell

From personal experience, I can say, Haskell is pretty difficult to learn. This is the project that has helped it click for me:

GitHub logo sdiehl / write-you-a-haskell

Building a modern functional compiler from first principles. (http://dev.stephendiehl.com/fun/)


Building a modern functional compiler from first principles.

Stephen Diehl

Build Status Gitter MIT License

Read Online:

Releases

This is a work in progress.

Building

To generate the build scripts provision…

I've always been interested in how languages work and I've been trying to learn Haskell when I can find the time. So far, I've been pretty unsuccessful, but this project has really opened my eyes to the secrets of Haskell.

If you've got any interest in either languages or Haskell, I've gotta recommend this great resource.

Top comments (7)

Collapse
 
adamcosi profile image
Adam

Looks good...👍 Seems to also be a W.I.P with much more to come.

Additionally, take a look at:

"Learn You a Haskell for Great Good!"

learnyouahaskell.com/chapters

...you may also find that of — great good — to you.

Collapse
 
jacobherrington profile image
Jacob Herrington (he/him)

Learn You a Haskell for Great Good is a wonderful resource. Some people struggle with it, but it's worth trying if you really want to learn!

Collapse
 
adamcosi profile image
Adam

A good friend introduced it to me many moons ago... At said time I struggled with it ("the functional way") — but now I am at peace with it. Syntactically it was hard to get my head around, let alone the "purity".

I always believe and encourage those (especially whom focus mostly in the web-space, i.e. PHP, JavaScript and similarly related languages) to branch out, if not for anything else but the perspective you will gain, which will compliment you as a developer and very likely broaden your ability to reason-about and solve problems all the while improving your code (e.g. such languages give you good insight into pure-functions, SRP and much more that you'll end up bringing into your core day-to-day stack).

So throw a bit of Go, Rust, Crystal, Python [too many good ones to name] into the mix 👌

Collapse
 
adamcosi profile image
Adam

PS. looks like said fellow has another good resource you'd also like:

"What I Wish I Knew When Learning Haskell"

github.com/sdiehl/wiwinwlh

...the gift that keeps on giving 😂

Collapse
 
vintharas profile image
Jaime González García

Wow! This is awesome! Thank you for sharing!! :D

Collapse
 
jacobherrington profile image
Jacob Herrington (he/him)

Sure thing! Hope you find it useful :)

Collapse
 
juanfrank77 profile image
Juan F Gonzalez

Thank you mate, I just started to learn Functional Programming for a course and Haskell is my current challenge. This I hope helps me get through it.