packages feed

liquidhaskell-0.9.0.2.1: tests/neg/Strings.hs

{-@ LIQUID "--expect-any-error" @-}
module Strings where

import GHC.CString  -- This import interprets Strings as constants!


bar :: () -> String 
{-@ bar :: () -> {x:String | x ~~ "boo"} @-}
bar _ = "foo"

boo :: String
boo = "boo"