Changeset 12724
- Timestamp:
- 26.10.2009 15:22:37 (4 weeks ago)
- Location:
- trunk
- Files:
-
- 2 modified
-
CASL/Freeness.hs (modified) (1 diff)
-
Maude/test.maude (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/CASL/Freeness.hs
r12723 r12724 498 498 -- | given the signature in M the function computes the morphism from M' to K 499 499 create_iota_mor :: Set.Set SORT -> CASLSign -> CASLMor 500 create_iota_mor ss sg_m = Morphism sg_musg' sm om pm ()500 create_iota_mor ss sg_m = Morphism iota_sg usg' sm om pm () 501 501 where iota_sg = totalSignCopy sg_m 502 502 usg = addSig const sg_m iota_sg -
trunk/Maude/test.maude
r12420 r12724 1 fth ALPHA-ASSOC is 1 fth FREENESS is 2 pr BOOL . 3 4 sort Foo . 5 6 eq true and true = true . 7 endfth 8 9 view Freeness from FREENESS to BOOL is 10 sort Foo to Bool . 11 endv 12 13 fth ALPHA_ASSOC is 2 14 sort Foo . 3 15 op f : Foo Foo -> Foo [ctor assoc] . 4 16 endfth 5 17 6 fmod OTHER -ALPHA-ASSOC is18 fmod OTHER_ALPHA_ASSOC is 7 19 sort Elt . 8 20 op g : Elt Elt -> Elt [ctor] . … … 13 25 endfm 14 26 15 view VALPHA from ALPHA -ASSOC to OTHER-ALPHA-ASSOC is27 view VALPHA from ALPHA_ASSOC to OTHER_ALPHA_ASSOC is 16 28 sort Foo to Elt . 17 29 op f to g . 18 30 endv 19 31 20 fmod MY -LIST is32 fmod MY_LIST is 21 33 sorts List Elt . 22 34 subsort Elt < List . … … 33 45 endfm 34 46 35 fmod MY -LIST-OPS is36 pr MY -LIST .47 fmod MY_LIST_OPS is 48 pr MY_LIST . 37 49 endfm 38 50