u/entirelysubjectivein r/haskell • Recommends
Arithmetic Puzzle - Live Coding in Haskell - Can you solve it? How long did it take you?
#haskell#countdownproblem#livecoding
463 subscribers • 2 videos on Hallway
Intermediate. Assumes working knowledge.
6.8K views14 years ago2 recommendations
Programming languagesHaskellFunctional programmingAlgorithms
A live coding session demonstrating how to implement a solver for the Countdown arithmetic puzzle in Haskell.
Live coding of Ruby Quiz 7 - Arithmetic Puzzle "Countdown" Unscripted, unedited, (uncut) - Haskell Uncut Read more at my blog post: codinguncut.com/arithmetic-puzzle/ You can find the code of this video at: github.com/codinguncut/Countdown The description of the task: rubyquiz.com/quiz7.html source 100 5 5 2 6 8, target 522. result: (5*100)+((5+6)*2) = 522 It took me so much longer to implement this than I had hoped. In the interest of making it watchable I have (against my explicit promise) cut out four 5-minute sections that proved to be cul-de-sacs. They are of course annotated. Music by Oniric (jamendo.com/de/artist/337244/oniric)What people say. Recommended as an example of live coding and hole-driven development in Haskell.
u/entirelysubjectivein r/haskell • Recommends
u/gnuvincein r/haskell • Recommends
On “Hole-driven Haskell”