@RichardPark - Besides, what other programming language (excluding any that might be derived from APL, like e.g., J) actually has that as a coding option - "Here's a function, reverse it."?
@JeffZeitlin I know right - possibly because (apart from the functional langs, and even then) every operation is some isolated, named entity for some specialised purpose as opposed to a class of composable consistent things
@JeffZeitlin Correct. However, component files (.dcf) are downwards compatible.
Also, of course, loading a 64-bit workspace in a 32-bit interpreter only works if the workspace can fit in memory, and loading a Unicode workspace into Classic requires all used characters to be in ⎕AV.
/me makes a note, to investigate further. I'd done some work in NARS2000 (for an RPG), but some of my readers expressed displeasure about using wine to run it on their Macs and/or Linux boxes, so I was thinking of generating a DWS in addition, since Dyalog is available native for both.
@Adám The function b ⊥ v, where b is a numeric base and v is a vector of digits in that base, converts the vector v into its decimal (base-10) equivalent. If you want to convert a base-10 number into base b, a naive approach would be to try to use ⊤, but this requires figuring out (or calculating) how many digits the number would require in base b. Instead, use the Power operator ⍣ with a left operand of b∘⊥ and a right operand of ¯1: b⊥⍣¯1.
This will invert the convert-to-decimal function to convert back to base b with exactly the minimum necessary number of digits in the base-b representation.
(Actually, that "digits" should probably be "digit values")
@Adám - OK, I can see that; I thought that currying with the jot essentially made the b⊥ into a single unit - the monadic function "convert-from-base-b", as it were.
@Adám - The function b ⊥ v, where b is a numeric base and v is a vector of digit values in that base, converts the vector v into its decimal (base-10) equivalent. If you want to convert a base-10 number into base b, a naïve approach would be to try to use ⊤, but this requires figuring out (or calculating) how many digits the number would require in base b. Instead, use the Power operator ⍣ with a right operand of ¯1: (b∘⊥⍣¯1).
This will invert the convert-to-decimal function to convert back to base b with exactly the minimum necessary number of digits in the base-b representation.