|
TH: missing instance of Lift for pairs/tuples: msg#00075lang.haskell.glasgow.bugs
There do not seem to be Lift instance declarations for tuples: :t lift (3::Int,4::Int) No instance for (Lift (Int, Int)) arising from use of `lift' at <No locn> They are easy to add (up to a fixed size) instance (Lift a, Lift b) => Lift (a,b) lift (a,b) = tupE [lift a, lift b] It would be nice if this were in the TH.Syntax module. Duncan
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | packages, :m command, Serge D. Mechveliani |
|---|---|
| Next by Date: | [ ghc-Bugs-959442 ] Problem with where clause and Template Haskell, SourceForge.net |
| Previous by Thread: | packages, :m command, Serge D. Mechveliani |
| Next by Thread: | [ ghc-Bugs-960029 ] Segmentation fault with Template Haskell, SourceForge.net |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |