Skip to Content.
Sympa Menu

maude-help - [Maude-help] higher-order functions

maude-help AT lists.cs.illinois.edu

Subject: Maude-help mailing list

List archive

[Maude-help] higher-order functions


Chronological Thread 
  • From: Yevgen Voronenko <yvoronen AT andrew.cmu.edu>
  • To: maude-help AT maude.cs.uiuc.edu
  • Subject: [Maude-help] higher-order functions
  • Date: Thu, 12 Jan 2006 20:14:18 -0500
  • List-archive: <http://maude.cs.uiuc.edu/pipermail/maude-help>
  • List-id: Maude help list <maude-help.maude.cs.uiuc.edu>

Hi, Maude-Help,

Is it possible to define higher order functions (operators) in Maude without resorting to meta-level?

For example, I would like to define a map function (operator).
using pseudo-notation:
map : List Func -> List
map([1, 2, 3], increment) = [increment(1), increment(2), increment(3)]

in the above increment would be a Maude operator.

I was able to defined this using Meta-level, but it seems inefficient and overly complicated.

Thanks a lot.





Archive powered by MHonArc 2.6.16.

Top of Page