liquidhaskell-0.9.0.2.1: tests/neg/QQTySyn2.hs
{-@ LIQUID "--expect-any-error" @-}
{-# LANGUAGE QuasiQuotes #-}
module QQTySyn2 where
import LiquidHaskell
[lq| type MyNat = { v:Int | 0 <= v } |]
[lq| type MyList a N = { v:[a] | (len v) = N } |]
[lq| nats :: MyList MyNat 11 |]
nats = [-1,1,2,3,4,5,6,7,8,9,10]