Author Archives: Christopher Lane Hinson

About Christopher Lane Hinson

A hairy haskell hacker with interests in games, computer science, and social justice.

The One Function per Typeclass Rule

After about five years programming in Haskell, I think we need a rule:  Only put one function in a typeclass. Why?  Because inevitably someone comes along with a data type for which one or the other function of a typeclass … Continue reading

Posted in Haskell | 5 Comments

But does it crawl?

Roguestar is officially a dungeon crawl now, as it actually has dungeons: For the moment I’m ok with the empty black pits, but I want to do something with the skylights.  Maybe slant them at an angle?  I’ll probably also … Continue reading

Posted in Roguestar | Leave a comment

Memoized Dataflow Streams

In reactive programming we can choose between two models: “pull,” in which we run a computation each time output is required, and “push,” in which we run the computation each time input arrives. Which model we use depends on whether … Continue reading

Posted in Haskell | 1 Comment