-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lift instance #53
Comments
Is Also why not add your manual Lift instance in a PR without referencing |
The |
Btw, the newtype Time a b = Time TimeSpec
deriving(Generic, Eq, Ord)
instance Lift (Time a b) where
lift (Time (TimeSpec s ns)) = [| Time (TimeSpec $(lift s) $(lift ns)) |] So the instance Lift TimeSpec where
lift (TimeSpec s ns) = [| TimeSpec $(lift s) $(lift ns) |] |
It's available on hackage, do you mean "which platforms are supported?" I have no idea about cross compilation interactions as I don't cross-compile. |
@OlivierSohn - just got my
|
The But you can also define an instance easily using StandaloneDeriving, so I don't know if it's worth it. Most users will not be using this library with Template Haskell. |
Hello,
I would need
TimeSpec
to have aLift
instance. Would you consider taking a PR on that subject considering it adds a dependency on template-haskell?Note that I can live without it for the moment, by manually implementing the Lift instance on the wrapper type.
The text was updated successfully, but these errors were encountered: