On Wed, 5 Sep 2007, Thomas Hartman wrote: > I think you want something like this > > {-# OPTIONS -fglasgow-exts #-} Why glasgow-exts? You may also want to read and extend the discussion "generic number type vs. distinct numeric types" http://www.haskell.org/haskellwiki/Generic_number_type