
Hello Arie, Tuesday, February 07, 2006, 7:01:31 PM, you wrote:
$(deriveSerializable ''Map)
AP> , which gave AP> "Exception when trying to run compile-time code: AP> ./Codec/Serialize/SerTH/BSerDerive.hs:(56,0)-(57,98): Non-exhaustive AP> patterns in function sdef". it works ok for me. ghc 6.4.1/mingw32, http://www.cs.helsinki.fi/u/ekarttun/SerTH/SerTH-0.2.tar.gz cmdline: "ghc -fth hello.hs --make -cpp" contents of hello.hs: import Codec.Serialize.SerTH import Data.Dynamic import Data.Typeable import System.IO import Data.Map $(deriveSerializable ''Map) btw, my Streams library include AltBinary part with TH-derived instances. i will announce it in few days -- Best regards, Bulat mailto:bulatz@HotPOP.com