src/HOLCF/cfun2.thy
author lcp
Tue, 16 Aug 1994 19:09:43 +0200
changeset 536 5fbfa997f1b0
parent 243 c22b85994e17
permissions -rw-r--r--
ZF/domrange/domain_of_prod, domain_empty, etc: moved to equalities.ML where they can be proved trivially using eq_cs ZF/domrange/XXX_empty: renamed XXX_0

(*  Title: 	HOLCF/cfun2.thy
    ID:         $Id$
    Author: 	Franz Regensburger
    Copyright   1993 Technische Universitaet Muenchen

Class Instance ->::(pcpo,pcpo)po

*)

Cfun2 = Cfun1 + 

(* Witness for the above arity axiom is cfun1.ML *)
arities "->" :: (pcpo,pcpo)po

consts	
	UU_cfun  :: "'a->'b"

rules

(* instance of << for type ['a -> 'b]  *)

inst_cfun_po	"(op <<)::['a->'b,'a->'b]=>bool = less_cfun"

(* definitions *)
(* The least element in type 'a->'b *)

UU_cfun_def	"UU_cfun == fabs(% x.UU)"

end

ML

(* ----------------------------------------------------------------------*)
(* unique setup of print translation for fapp                            *)
(* ----------------------------------------------------------------------*)

val print_translation = [("fapp",fapptr')];