src/HOLCF/Cfun2.thy
author lcp
Mon, 22 Aug 1994 11:07:40 +0200
changeset 570 6333c181a3f7
parent 442 13ac1fd0a14d
child 752 b89462f9d5f1
permissions -rw-r--r--
Pure/Thy/thy_parse/THY_PARSE: deleted duplicate specifications of parens, brackets, ..., mk_triple

(*  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')];