Skip to Content.
Sympa Menu

maude-help - Re: [Maude-help] Mutually dependent functional modules

maude-help AT lists.cs.illinois.edu

Subject: Maude-help mailing list

List archive

Re: [Maude-help] Mutually dependent functional modules


Chronological Thread 
  • From: Francisco Durán <duran AT lcc.uma.es>
  • To: "Morandi Benjamin" <benjamin.morandi AT inf.ethz.ch>
  • Cc: "maude-help AT cs.uiuc.edu" <maude-help AT cs.uiuc.edu>
  • Subject: Re: [Maude-help] Mutually dependent functional modules
  • Date: Tue, 18 Oct 2011 16:51:31 +0100
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/maude-help>
  • List-id: <maude-help.cs.uiuc.edu>

Just define a submodule with the required definitions.

fmod SUBTEST is
sort Test .
endfm

view Test from TRIV to SUBTEST is
sort Elt to Test .
endv

fmod TEST is
protecting LIST{Test} .
endfm

Regards,

Francisco

El 18/10/2011, a las 16:38, Morandi Benjamin escribió:

> Dear All,
>
> I am trying to define two functional modules that use each other. However,
> Maude does not allow me to do so. The same problem occurs when using a list
> in the following way:
>
> view Test from TRIV to TEST is
> sort Elt to Test .
> endv
>
> fmod TEST is
> protecting LIST{Test} .
>
> sort Test .
> endfm
>
> Does anyone know how to resolve these problems?
>
> Best Regards
>
> Benjamin Morandi
> _______________________________________________
> Maude-help mailing list
> Maude-help AT cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/maude-help






Archive powered by MHonArc 2.6.16.

Top of Page