mirror of
https://github.com/github/semantic.git
synced 2024-11-28 18:23:44 +03:00
strictness annotations. will this do anything? only time will tell
This commit is contained in:
parent
f9e8edddff
commit
ca96b02869
@ -49,9 +49,9 @@ prjPair = bitraverse prjValue prjValue
|
||||
-- that, say, a @Number Scientific@ contains a 'Scientific' and not an integer
|
||||
-- in disguise.
|
||||
data Number a where
|
||||
Whole :: Prelude.Integer -> Number Prelude.Integer
|
||||
Ratio :: Prelude.Rational -> Number Prelude.Rational
|
||||
Decim :: Scientific -> Number Scientific
|
||||
Whole :: !Prelude.Integer -> Number Prelude.Integer
|
||||
Ratio :: !Prelude.Rational -> Number Prelude.Rational
|
||||
Decim :: !Scientific -> Number Scientific
|
||||
|
||||
deriving instance Eq a => Eq (Number a)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user