globalmaphack: use old school CPP
authorBernhard Urban <lewurm@gmail.com>
Wed, 18 Jul 2012 17:33:33 +0000 (19:33 +0200)
committerBernhard Urban <lewurm@gmail.com>
Wed, 18 Jul 2012 21:01:01 +0000 (23:01 +0200)
commit94985402292306da1db46b1750927ef46bdb87d3
treece1402f13f30656807b30b9410e19df54a48c1bb
parentdb7df0e27df2007718446df7b369801d46abd26b
globalmaphack: use old school CPP

I tried (1) typeclasses and (2) TH, but failed:
(1) typeclasses are not designed to emulate object managment
(2) TH needs GHCi (or at least something at compile-time?), and this doesn't
    work well with MateVM build stuff :/
Makefile
Mate/Types.hs