:DEF

This topic is specifically for discussions on the new APL64 Project currently in development. This topic is open for all to browse. However, to post, one must have a registered account on the APLDN forum only available to APL+Win licensee under a current APL+Win Subscription.

Moderators: Tech Support, phpbb_admin

:DEF

Postby Davin Church » September 26th, 2018, 1:23 am

I really like your new : DEF "local function" mechanism -- it gives me much of the functionality that I've been wanting for years as a tool-writer. Yay!!

However, it would be nice if we could take it one step further and make it embeddable into expressions directly for short formulas called in only one or two places in the code. For instance, if I needed to trim spaces off a large vector of vectors, in Dyalog I should be able to do something like this:
{(+/^\⌽⍵=' ')↓⍵}¨list

This lets me use simple expressions as subroutines without having to define a formal function to do it.

Have you had any thoughts about that sort of capability?
Davin Church
 
Posts: 651
Joined: February 24th, 2007, 1:46 am

Re: :DEF

Postby Tech Support » October 29th, 2018, 6:56 pm

Thank you for your question. It is answered in a Q&A document available here: viewtopic.php?f=30&t=1229 under the question "Will the APL64 Project Include Anonymous and Lambda Function Structures as an Option to the Classic, User-Defined APL Function?". This is a dynamic document that will be updated with new information so check it periodically.

We appreciate your input and hope you will continue to support the APL64 Project.
Tech Support
 
Posts: 1230
Joined: February 10th, 2007, 7:33 am
Location: Rockville, MD


Return to APL64 Project

Who is online

Users browsing this forum: Google [Bot] and 5 guests

cron