Cross Reference: Double.hascasl
xref
: /
hets
/
HasCASL
/
test
/
Double.hascasl
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
vars a : Type; b < a
op twice2 (f : a ->? b) (x : a) :? b = f(f(x))
op twice3 : (a ->? b) * a ->? b = \ (f : a ->? b, x : a) . f(f(x))
op twice : (a ->? b) -> a ->? b = \ f (x : a) . f(f(x))
var f : a ->? b; x : a
. twice f x = f(f(x))