src/HOLCF/Cfun2.thy
author clasohm
Wed Jun 29 12:03:41 1994 +0200 (1994-06-29)
changeset 442 13ac1fd0a14d
parent 243 c22b85994e17
child 752 b89462f9d5f1
permissions -rw-r--r--
added parentheses made necessary by change of constrain's precedence
nipkow@243
     1
(*  Title: 	HOLCF/cfun2.thy
nipkow@243
     2
    ID:         $Id$
nipkow@243
     3
    Author: 	Franz Regensburger
nipkow@243
     4
    Copyright   1993 Technische Universitaet Muenchen
nipkow@243
     5
nipkow@243
     6
Class Instance ->::(pcpo,pcpo)po
nipkow@243
     7
nipkow@243
     8
*)
nipkow@243
     9
nipkow@243
    10
Cfun2 = Cfun1 + 
nipkow@243
    11
nipkow@243
    12
(* Witness for the above arity axiom is cfun1.ML *)
nipkow@243
    13
arities "->" :: (pcpo,pcpo)po
nipkow@243
    14
nipkow@243
    15
consts	
nipkow@243
    16
	UU_cfun  :: "'a->'b"
nipkow@243
    17
nipkow@243
    18
rules
nipkow@243
    19
nipkow@243
    20
(* instance of << for type ['a -> 'b]  *)
nipkow@243
    21
clasohm@442
    22
inst_cfun_po	"((op <<)::['a->'b,'a->'b]=>bool) = less_cfun"
nipkow@243
    23
nipkow@243
    24
(* definitions *)
nipkow@243
    25
(* The least element in type 'a->'b *)
nipkow@243
    26
nipkow@243
    27
UU_cfun_def	"UU_cfun == fabs(% x.UU)"
nipkow@243
    28
nipkow@243
    29
end
nipkow@243
    30
nipkow@243
    31
ML
nipkow@243
    32
nipkow@243
    33
(* ----------------------------------------------------------------------*)
nipkow@243
    34
(* unique setup of print translation for fapp                            *)
nipkow@243
    35
(* ----------------------------------------------------------------------*)
nipkow@243
    36
nipkow@243
    37
val print_translation = [("fapp",fapptr')];
nipkow@243
    38
nipkow@243
    39