Category Archives: turtle

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