[Haskell] Ref class?