Cross Reference: Subtype2.hascasl
xref
: /
hets
/
HasCASL
/
test
/
Subtype2.hascasl
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
types S, T
type Binary < S * S -> T
vars a, b: Type; a < b
op down: b ->? a
var y: b; x: a
. down y = x
types Nat < Int; Inj < Int -> Int