src/HOLCF/cfun2.thy
author paulson
Mon Dec 07 18:26:25 1998 +0100 (1998-12-07)
changeset 6019 0e55c2fb2ebb
parent 243 c22b85994e17
permissions -rw-r--r--
tidying
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
nipkow@243
    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