Category Archives: haskell

Turtle Graphics :: Changing Interface

Recalling, my first idea of the Turtle Graphics posts was to see if it was likely that a beginner in functional programming would have invented monads by himself/herself. Let’s change the interface a bit, such that a command is a … Continue reading

Posted in haskell, turtle | Leave a comment

Some thoughts on Turtle Graphics Basics

In the comments of last turtle post, Joel pointed out a way to get commands composable. I didn’t quite get it to work, probably because of that Command is a type synonym and not a concrete type. The first time … Continue reading

Posted in haskell, turtle | 4 Comments

Turtle Graphics Basics

Some weeks ago, I watched Don’t fear the Monads, again. Beckman said something like “there nothing about monads that you don’t already know” and “after some time, you’d be inventing monads yourself, but you probably wouldn’t know that they were … Continue reading

Posted in haskell, turtle | 5 Comments

Lazy FizzBuzz in Haskell

Christian has been writing too many FizzBuzzes [1,2,3] right now, without me responding! We also got a comment in the first fizzbuzz post from sganslandt I’ve actually had the code for this post for two weeks now, but haven’t had … Continue reading

Posted in fizzbuzz, haskell, lazy | 2 Comments