Closed goyalyashpal closed 1 year ago
Parametric stack copying is not something I'd like to encourage.
If you want to copy stack values, you should know exactly how many there are at the time you write your program.
I think ,,
is a fine idiom.
Fork more than 2, fork
is adequate.
Parametric stack copying is not something I'd like to encourage.
yeah, makes sense. so, how about it allow only literal value? similar to how if
used to take only 0|1
literal in v0.0.17
I think
,,
is a fine idiom.
yep, no prob with it; the issue is that there's no way to do for more than 2
Fork more than 2,
fork
is adequate.
umh, sorry?
But with if
, you can pass it a value that is the result of a another computation.
No Uiua functions currently require that their arguments are known at compile time.
For more than 2.
this may help in some cases where the
fork
failsalso, this may provide a better alternate to the
over over
phrase which copies last 2 values on stackExamples: coming soon