Month: October 2009

  • Real World Haskell – Chapter 3

    These are the exercises from chapter 3 ofReal World Haskellby Bryan O’Sullivan, Don Stewart, and John Goerzen> module RWHChapter3 where {-# OPTIONS_GHC -XMagicHash #-} Some useful things to check my work: > import Test.QuickCheck> import Data.List> import GHC.Prim> import GHC.Base 1) Write a function that computes the number of elements in a list. To test…

  • Testing embedded TeX

    If I set the up correctly, I can now embed mathematical formulas in my blog: