ucsd-progsys/liquidhaskell
Auf GitHub ansehenThe sort GHC.Natural.Natural is not numeric
Open
#1.500 geöffnet am 28. Mai 2019
good first issue
Repository-Metriken
- Stars
- (1.306 Stars)
- PR-Merge-Metriken
- (Durchschn. Merge 2T 18h) (12 gemergte PRs in 30 T)
Beschreibung
in Control.Concurrent.STM.TBQueue
function newTBQueue :: Natural -> STM (TBQueue a)
requires a "Natural" argument.
LH complains that this cannot be compared (==) to an int.
Adding {-@ embed GHC.Natural.Natural as int @-} solved the problem. But, could this be added to the specs in "include/GHC" ?
liquid: LiquidHaskell Version 0.8.6.0 (compiled from develop)