doc/examples/manexs/Msimple-int.mod
raw| 1 | require Msimple-nat |
| 2 | |
| 3 | module SIMPLE-INT { |
| 4 | protecting (SIMPLE-NAT) |
| 5 | [ Nat NegInt < Int ] |
| 6 | op -_ : NzNat -> NegInt |
| 7 | op _+_ : Int Int -> Int |
| 8 | op _-_ : Int Int -> Int |
| 9 | op s : Int -> Int |
| 10 | vars M M' : Int |
| 11 | } |
| 12 | |
| 13 | provide Msimple-int |
| 14 | |
| 15 | eof |
| 16 | ** $Id: Msimple-int.mod,v 1.1.1.1 2003-06-19 08:30:11 sawada Exp $ |