File: view.expected

package info (click to toggle)
maude 3.5.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 18,480 kB
  • sloc: cpp: 133,192; makefile: 2,180; yacc: 1,984; sh: 1,373; lex: 886
file content (24 lines) | stat: -rw-r--r-- 377 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
fmod TEST is
  sort Foo .
  op g : Foo -> Foo .
  eq g(X:Foo) = X:Foo .
endfm
fmod TEST is
  sort Foo .
  op c : -> Foo .
  op g : Foo -> Foo .
  eq g(X:Foo) = X:Foo .
endfm
fmod TEST is
  sort Foo .
  op c : -> Foo .
  op g : Foo -> Foo .
  eq g(X:Foo) = c .
endfm
fmod TEST is
  sort Foo .
  op h : Foo -> Foo .
  op g : Foo -> Foo .
  eq g(X:Foo) = h(h(X:Foo)) .
endfm
Bye.