module IntAbsRef where {-@ data Foo a
Bool> = Foo { x::Int
}@-} data Foo a= Foo {x :: Int} {-@ foo :: Foo <{\v -> v /= 1}> Int @-} foo :: Foo Int foo = Foo 1