Newsgroups: comp.lang.apl
Path: watmath!watserv2.uwaterloo.ca!torn!cs.utexas.edu!uwm.edu!wupost!uunet!mcsun!sun4nl!ruuinf!network-news
From: ted@cs.ruu.nl (Ted Herman)
Subject: Re: Copulas in Hooks and Forks?
Sender: network-news@cs.ruu.nl
Message-ID: <1992Dec11.085655.21075@cs.ruu.nl>
Date: Fri, 11 Dec 1992 08:56:55 GMT
References: <1992Dec10.202057.8331@cs.ruu.nl>
Organization: Utrecht University, Dept. of Computer Science
Lines: 31

Someone was kind enough to suggest that I use a combination of adverbs and  
gerunds to encode my "idiom".  For my simple example,

(unbox1 box (g1 @ unbox2)) x1
(unbox1 box (g2 @ unbox2)) x2
(unbox1 box (g1 @ unbox2)) x3
..
 
define  

a =. '(unbox1 box (x.f. @ unbox2))' : 1

then use

(g1 a) x1
(g2 a) x2
(g1 a) x3
.. 

This seems to work fine.  And as for my wish to make more complicated  
idioms with numerous verb and noun parameters, something like

(g1`g2`g3 aaa) x1;x2;x3

should work for an appropriately defined adverb aaa.  So for the nonce, I  
have an answer to my question.

Ted Herman
University of Utrecht

P.S.  What are J expletives?
