maude-help AT lists.cs.illinois.edu
Subject: Maude-help mailing list
List archive
- 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.
- [Maude-help] higher-order functions, Yevgen Voronenko, 01/12/2006
- Re: [Maude-help] higher-order functions, Paco Duran, 01/16/2006
- Re: [Maude-help] higher-order functions, Steven Eker, 01/16/2006
- Re: [Maude-help] higher-order functions, Steven Eker, 01/16/2006
- Re: [Maude-help] higher-order functions, Yevgen Voronenko, 01/16/2006
- Re: [Maude-help] higher-order functions, Steven Eker, 01/16/2006
Archive powered by MHonArc 2.6.16.