liquidhaskell-0.8.10.7: benchmarks/icfp15/neg/Records.hs
module Records where
import qualified Data.Set as S
import GHC.CString -- This import interprets Strings as constants!
import DataBase
data Value = I Int
{-@ rec :: {v:Dict <{\x y -> true}> String Value | listElts (ddom v) ~~ (Set_sng "bar")} @-}
rec :: Dict String Value
rec = ("foo" := I 8) += empty
unsafe :: Dict String Value
unsafe = ("bar" := I 8) += empty