|
From: | Juergen Sauermann |
Subject: | Re: [Bug-apl] Suggestions needed: Editing of named lambdas |
Date: | Thu, 06 Mar 2014 15:03:08 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130330 Thunderbird/17.0.5 |
Hi,
in GNU APL you can have lambdas without result (eg. {}) and they don't start with λ←. As Kacper has pointed out you can also have user-defined functions starting with λ←. I have no plans to prevent that, but I have also no idea where the lambdas will bring us in GNU APL. Right now {...} is simply a wrapper for ⎕FX. IMHO it is not a good idea to have two kinds of functions with different rules in one language, even if some APL programmers seem to like that. I have added a function UserFunction::is_lambda() in SVN 156 that tells if the function was initially defined via '{ ... }'. No idea what happens if you edit the function later on. /// Jürgen On 03/06/2014 03:53 AM, Elias Mårtenson wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |