doc-src/Intro/prod.thy
author aspinall
Sun Dec 31 15:34:21 2006 +0100 (2006-12-31)
changeset 21973 e7c9b0d3ce82
parent 105 216d6ed87399
permissions -rw-r--r--
Quote arguments in PGIP exceptions. Tune comment.
     1 Prod = FOL +
     2 types   "*" 2                                 (infixl 20)
     3 arities "*"     :: (term,term)term
     4 consts  fst     :: "'a * 'b => 'a"
     5         snd     :: "'a * 'b => 'b"
     6         Pair    :: "['a,'b] => 'a * 'b"       ("(1<_,/_>)")
     7 rules   fst     "fst(<a,b>) = a"
     8         snd     "snd(<a,b>) = b"
     9 end