src/HOLCF/Discrete.thy
author berghofe
Fri, 11 Jul 2003 14:55:17 +0200
changeset 14102 8af7334af4b3
parent 12338 de0f4a63baa5
child 14981 e73f8140af78
permissions -rw-r--r--
- Installed specific code generator for equality enforcing that arguments do not have function types, which would result in an error message during compilation. - Added test case generators for basic types.

(*  Title:      HOLCF/Discrete.thy
    ID:         $Id$
    Author:     Tobias Nipkow
    License:    GPL (GNU GENERAL PUBLIC LICENSE)

Discrete CPOs.
*)

Discrete = Discrete1 +

instance discr :: (type)cpo   (discr_cpo)

constdefs
   undiscr :: ('a::type)discr => 'a
  "undiscr x == (case x of Discr y => y)"

end