Categories: Haskell

  • Classy Type Classes

    Characteristics Scope: Module Safety: Has none. Don't use. Just stay away! Explanation This pattern is guaranteed to blow on your face. Or, better, if used with care, with frozen requirements, and wit…

  • Lazy Memoization

    Characteristics Scope: Local Safety: Best practice Explanation Memoization is the technique of caching previously calculated results with the intention of improving the speed of newer calculations. M…

  • Sandbox

    Characteristics Scope: Structural Safety: Safe Explanation That computer sitting on your desk is not equivalent to a Turing Machine. This shouldn't be surprising, since Turing Machines are a mathemat…

  • Swiss-Army Knife Transformer Stack

    Characteristics Scope: Structural AKA: MTL Style Monad Transformers. Safety: See "Pick your Poison" section Explanation A stack of monad transformers where you can keep adding transformers w…

  • Haskell Patterns

    I've start developing a small game, so that I had a project where I could abuse Haskell's features in any way I could think of. It has been a most educative venture, but I've notice I'm making more ex…