make hlint happy
This commit is contained in:
parent
3a1fba39b9
commit
e4d1fdfbed
8 changed files with 45 additions and 43 deletions
|
|
@ -34,7 +34,7 @@ discrete :: QuasiQuoter
|
|||
discrete = QuasiQuoter discreteExp errorDiscretePat errorDiscreteType errorDiscreteDiscretelaration
|
||||
|
||||
discreteConstant :: forall (moneyClass :: MoneyClass) s. Integer -> Term s (Discrete moneyClass)
|
||||
discreteConstant n = punsafeCoerce ((pconstant n) :: Term s PInteger)
|
||||
discreteConstant n = punsafeCoerce (pconstant n :: Term s PInteger)
|
||||
|
||||
fixedToInteger :: Integer -> (Integer, Integer) -> Integer
|
||||
fixedToInteger places (i, f) = i * 10 ^ places + f
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue