The show
command is used for showing a described module as follows:
CafeOBJ> show NAT+ module! NAT+ { imports { protecting (SIMPLE-NAT) } signature { op _ + _ : Nat Nat -> Nat { strat: (1 0 2) } } axioms { eq 0 + M:Nat = M . eq s(N:Nat) + M:Nat = s(N + M) . } } CafeOBJ>
CafeOBJ system may give default attributes when some attributes are omitted. In the above case, the default strategy for the operator _+_
is given by the system.
Original Copyright © Takahiro Seino, all rights reserved.