ex/PL0.ML
author nipkow
Tue, 22 Mar 1994 08:28:31 +0100
changeset 56 385d51d74f71
permissions -rw-r--r--
Used Datatype functor to define propositional logic terms.

(*  Title: 	HOL/ex/pl0.ML
    ID:         $Id$
    Author: 	Tobias Nipkow
    Copyright   1994  TU Muenchen

Inductive definition of propositional logic formulae.
*)

structure PL0 = DeclaredDatatype
(val base = PL0.thy
 val data = "'a pl = false | var('a) | \"op->\"('a pl,'a pl)"
);