« first day (485 days earlier)   

12:22 AM
What was the syntax for an optional argument in a tradfn?
 
Wrap in braces (I think)
 
Sorry, I meant to say what is the syntax for a default argument in a tradfn?
Do I have to use ⎕NC ?
 
I'll wait for someone else to answer
 
 
1 hour later…
 
3 hours later…
5:23 AM
@Zacharý 900⌶anything is "called monadically".
@Zacharý Sometimes, it is shortest to write a←{0::default⋄a}something
 
 
9 hours later…
2:19 PM
Functional programming (the functionception kind) does NOT mix with APL.
 
ngn
2:39 PM
@Zacharý ideas how to fix that? I had some but none were taken seriously
 
Maybe one operator for putting a wrapper around a function, and another for calling that function?
That would still lead to hacks-a-plenty, but at least direct functions would be available!
 
ngn
@Zacharý that's what I was trying to do too :) have an operator (or some special syntax) that "boxes" a function, so it becomes like a scalar and can be put in arrays, and another operator to unbox it and call it
 

« first day (485 days earlier)