Debian Codegraph @

doc/examples/manexs/Milist-ext.mod

raw
1 require Milist
2 require Msimple-nat
3
4 module ILIST-EXT {
5 protecting (ILIST)
6 protecting (SIMPLE-NAT)
7 op #_ : Ilist -> Nat
8 var I : Elt.IDX
9 var D : Elt.DAT
10 var L : Ilist
11 eq # put(I,D,L) = s(0) + (# L) .
12 eq # empty = 0 .
13 }
14
15 provide Milist-ext
16
17 eof
18 --
19 ** $Id: Milist-ext.mod,v 1.1.1.1 2003-06-19 08:30:11 sawada Exp $