Hi,

I am translating scheme code that makes heavy use of delayed evaluation
(thunks). In scheme, there is a predicate 'procedure?' that returns a
boolean. I translated that into a check for a boxed string, which is the
representation I use for delayed procedures, which I then 'force' using ".@>


   1. Is there a better way than building a program string to get delayed
   eval? I tried using (3: '(delayed_verb)"_'), but the interpreter seems to
   greedily eval the whole thing with that pattern. The only working solution
   I found was to convert everything to string.
   2. Is there a general test similar to 'procedure?' in J?


Thanks!
Raoul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to