|Subject:||Re: [Haskell-cafe] Re: could we get a Data instance for Data.Text.Text?|
|Date:||Mon, 25 Jan 2010 20:16:53 -0600|
On Sun, Jan 24, 2010 at 5:49 AM, Neil Mitchell <[email protected]> wrote:
Right.. that is the problem with Text. Do you think the correct thing to do for gunfold and toConstr is to convert the Text to a String and then call the gufold and toConstr for String? Or something else?
The Serialise problem is a serious one. I can't think of any good
We currently use template haskell to generate the Serialize instances in most cases (though some data types have more optimized encodings that were written by hand). However, you must supply the Version and Migration instances by hand (they are super classes of Serialize).
I am all for splitting the Serialize stuff out of happstack .. it is not really happstack specific. Though I suspect pulling it out is not entirely trivial either. I think the existing code depends on syb-with-class.
_______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
|<Prev in Thread]||Current Thread||[Next in Thread>|
|Previous by Date:||[Haskell-cafe] ANN: The Monad.Reader Issue 15, Brent Yorgey|
|Next by Date:||[Haskell-cafe] imaging textbooks?, Dan Mead|
|Previous by Thread:||Re: [Haskell-cafe] Re: could we get a Data instance for Data.Text.Text?, Lennart Augustsson|
|Next by Thread:||Re: [Haskell-cafe] Re: could we get a Data instance for Data.Text.Text?, José Pedro Magalhães|
|Indexes:||[Date] [Thread] [Top] [All Lists]|