Skip to content
0:00 / 0:00

#haskell#redo#make

Redoing Make - Haskell from Scratch #1

jekor

6.6K subscribers • 6 videos on Hallway

YouTube
  • Recommended by 3 people: 3 on Hacker News.
  • A classic. People kept recommending it from 2014 to 2021.
  • Presented by Chris Forno
  • Linked in the descriptionapenwarr/redojekor/redojekor/dotfiles

Intermediate. Assumes working knowledge.

57K views13 years ago3 recommendations

Programming languagesTools and practiceHaskellFunctional programmingBuild systems and packaging

Chris Forno builds an implementation of djb's redo build system from scratch in Haskell.

Let's build an implementation of djb's redo from scratch in Haskell. In this, the first episode, I'll explain what the purpose of the program is, write some initial code, and create a GitHub repository for you to follow along with if you want. Just to clarify, the book I was writing is the basis for this video series. I don't plan to publish the book because I think the material is better served by videos. However, maybe there will be a different book in the future... Links from the video: cr.yp.to/redo.html github.com/apenwarr/redo My 3 favorite Haskell introductory texts: Learn You a Haskell for Great Good! - learnyouahaskell.com/ Two Dozen Short Lessons in Haskell - cs.ou.edu/~rlpage/fpclassCurrent/textbook/haskell.shtml Hitchhikers guide to Haskell - haskell.org/haskellwiki/Hitchhikers_guide_to_Haskell Follow along on GitHub at github.com/jekor/redo Notices and updates on Twitter at @jekor twitter.com/jekor For my terminal setup, see github.com/jekor/dotfiles All Haskell from Scratch videos: youtube.com/playlist?list=PLxj9UAX4Em-Ij4TKwKvo-SLp-Zbv-hB4B

Why it's here

3 people recommend this

What people say. Highly recommended for developers wanting to learn Haskell through a practical, step-by-step project.

traviscjon Hacker News • Recommends

On “A Lazy Evaluation – Why I Find Learning Haskell Hard”

I haven't ever done anything too significant in Haskell, but the Jekor Redo 1 videos are fantastic, and demonstrate the slow building up of more complicated things than "reverse this string." I haven't watched his xmonad 2 or pandoc 3 videos yet, but I would bet that they are highly worthwhile as well. - 1: link to this video - 2: link - 3: link

minikomion Hacker News • Recommends

On “Getting It Done with Haskell”

There's definitely a stage when you want to graduate from bottom-up tinkering & learning the underlying concepts to making things -- this is where I feel there's a big gap in the haskell materials right now. There's some great screncasts though which have been helpful. link - Implement a sed clone in Haskell (a bit broken towards the end but a great look at a small incremental project) link to this video - implementing redo in Haskell

mavelikaraon Hacker News • Recommends

On “Redo: A recursive, general-purpose build system”

Chris Forno (jekor) made an implementation of djb's redo in Haskell. The videos of him live coding it are on YouTube, and I recommended it for anyone wanting to learn Haskell. link to this video

u/CKoenigin r/haskell • Mentions

On “Practical Haskell examples for beginners?”

maybe this is interesting for you: link to this video it's about rewriting an existing tool with Haskell - IMO quite a nice intro

u/tsahytin r/haskell • Mentions

On “screencasts/video tutorials”

The first thing that I can think of is Haskell from Scratch. It develops a simple alternative to `make` using Haskell in several episodes.

u/mefirstredditin r/haskell • Mentions

On “Recommend a smallish Haskell library for learning”

Jekor on youtube made some videos about xmonad and other haskell projects, maybe they are usefull for you too! channel: Jekor Videos: xmonad (Haskell) on Code Deconstructed Redoing Make - Haskell from Scratch #1

u/pdr77in r/haskell • Mentions

On “Running external programs with haskell”

There's an excellent set of Haskell video series on YouTube which may be useful from a chap called Jekor. One of his series involves implementing a make system in Haskell and can be found here: link to this video It covers the topic of executing commands quite well, but predates libraries like Turtle which make it even easier.

u/codygmanin r/haskell • Mentions

On “New Haskellers: Ask Anything”

> (Template Haskell?, Various Shakespearian Libraries (and others)? Have you seen this page: http://www.yesodweb.com/book/shakespearean-templates > FFI? http://book.realworldhaskell.org/read/interfacing-with-c-the-ffi.html https://en.wikibooks.org/wiki/Haskell/FFI http://blog.ezyang.com/2010/07/safety-first-ffi-and-threading/ Haskell FFI Tutorial *UNTESTED/UNREVIEWED* > How do I even begin to design a non-trivial program in Haskell (the approach is different from the data oriented approach of OO/procedural world?)) http://howistart.org/posts/haskell/1 https://en.wikibooks.org/wiki/Write_Yourself_a_Scheme_in_48_Hours http://www.ccs.neu.edu/home/matthias/HtDP2e/ (not Haskell specif…

u/Benjmhartin r/haskell • Mentions

On “Best video course nowadays for Beginning Haskell?”

Zero bullshit haskell has at least some videos - link to this video I'm a really big fan of Haskell from scratch - seems to be the only course where you build a real world application that does a lot of IO. - link to this video some notes about haskell from scratch - the application that gets built could use a lot of refactoring, and there's some BSD-specific things that need to be refactored in other environments I think. - also some of the tooling around dependencies is not great - it predates stack, and i think the cabal api has changed.