| author | wenzelm |
| Wed, 17 Mar 1999 13:42:42 +0100 | |
| changeset 6378 | 5780d71203bb |
| parent 1247 | 18b1441fb603 |
| permissions | -rw-r--r-- |
(* Title: HOL/AxClasses/Tutorial/ProductInsts.thy ID: $Id$ Author: Markus Wenzel, TU Muenchen Instantiate the 'syntactic' class "product", then define "<*>" on type "bool". Note: This may look like Haskell-instance, but is not quite the same! *) ProductInsts = Product + instance bool :: product defs prod_bool_def "x <*> y == x & y::bool" end