liquidhaskell-0.4.0.1: Liquid Types for Haskell

Safe HaskellNone
LanguageHaskell98

Language.Haskell.Liquid.Literals

Synopsis

Documentation

literalConst :: TCEmb TyCon -> Literal -> (Sort, Maybe Expr) Source

literalConst returns Nothing for unhandled lits because otherwise string-literals show up as global int-constants which blow up qualifier instantiation.