|
From: | Henrik Moller |
Subject: | Re: APL lambda question |
Date: | Thu, 24 Oct 2024 12:15:30 -0400 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 |
Hi Henrik,
I believe I fixed the Segfault. You should now get
a DEFN ERROR instead with )MORE information.
SVN 1782.
The reason is this:
1, Conditionals, i.e. COND →→ IFSTAT ←→ ELSESTAT ←←
create 2 or 3 statements, one for COND, one for IFSTAT and
optionally one for ELSESTAT.
2. GNU APL lambdas are limited to one APL _expression_ (= one APL statement)
and the _expression_ must yield a value (and can therefore not be a branch).
3. The normal work-around for this limitation is to use a proper ∇-defined function.
Best Regards,
Jürgen
[Prev in Thread] | Current Thread | [Next in Thread] |