Add Inject instance for Int (#99)
This commit is contained in:
parent
4e881450a0
commit
2a186dcabb
|
@ -698,6 +698,14 @@ instance Inject Integer where
|
|||
|
||||
declared = Integer
|
||||
|
||||
instance Inject Int where
|
||||
injectWith _ = InputType {..}
|
||||
where
|
||||
embed = IntegerLit . toInteger
|
||||
|
||||
declared = Integer
|
||||
|
||||
|
||||
instance Inject Double where
|
||||
injectWith _ = InputType {..}
|
||||
where
|
||||
|
|
Loading…
Reference in New Issue
Block a user