Oops.  Wrong:

   0 matchx i.0
1

Should do the {. only if _both_ arguments are empty.



----- Original Message -----
From: Roger Hui <[email protected]>
Date: Wednesday, May 27, 2009 13:41
Subject: Re: [Jprogramming] confused about different emptiness
To: Programming forum <[email protected]>

> A match that cares about the types of empties:
> 
> matchx=: -:&({.^:(0=*/@$))
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to