I would argue that using fixed strings and idiomatic construction to
select one to eval is less complex than conditionally concatenating
fragments.
Anyway, since other languages conditioned me to avoid eval like the
plague and power operator can also be used to construct arbitrary
control flow, I
Hi, here goes another micro error.
2 3+.{⍺×⍵}2 3
LENGTH ERROR
μ-Z__A_LO_INNER_RO_B[5] (μ-IA μ-IB)←⊃μ-I[μ-N]
^ ^
)reset
2 3{⍺+⍵}.{⍺×⍵}2 3
LENGTH ERROR
μ-Z__A_LO_INNER_RO_B[5] (μ-IA μ-IB)←⊃μ-I[μ-N]
^ ^
)r
Hi David,
thanks, fixed in SVN 770.
/// Jürgen
On 07/05/2016 07:39 AM, David B.
Lamkins wrote:
The attached code creates a number of stale values.
Hi Xtian,
but a little too complex for my taste (note that fac 0
behaves differently though not unreasonably) :
fac←{⍵×⍎((⍵>2)/'fac ⍵-'),'1'}
fac 10
3628800
/// Jürgen
On 07/05/2
Hi Xtian,
thanks, fixed in SVN 769.
/// Jürgen
On 07/05/2016 06:35 AM, Christian
Robert wrote:
Pretty sure this was working a couple days ago,
Xtian.
SAVED 2016-07-05 00:
If no one noticed, it is a way to do (if;then;else) in a Lambda. (if;then;else)
everywhere in fact.
Xtian.
On 2016-07-05 01:43, Christian Robert wrote:
I was under the impression that recursive controlled Lambda was near impossible
to write.
here an example for factorial:
fact←{⍎↑(⍵>