Hi,

I am trying to use the genericserialize package
(http://hackage.haskell.org/package/genericserialize) but cannot get
things working.

While
buildList (sexpSerialize [1, 2, 3])

yields

"(1 2 3)"

as it might be expected, I cannot deserialize it back:

*Main> (withList sexpDeserialize $ buildList (sexpSerialize [1, 2,
3])) :: Maybe [Integer]
Nothing

or

*Main> (withList sexpDeserialize $ buildList (sexpSerialize [1, 2,
3])) :: Maybe [Int]
Nothing

while I would expect at least one of these cases result in Just [1, 2, 3]

What am I missing?

Thanks.

-- 
Dimitry Golubovsky

Anywhere on the Web
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to