I try to find the boolean list for the first number in an strictly
increasing integer list. eg.

   1, ( >:@}: ~: }.) 4 5 6 7 8 11 12 16 17 19 21
1 0 0 0 0 1 0 1 0 1 1

but it does not handle the corner case where the list is empty

   1, ( >:@}: ~: }.) 0$0
1

I want it to return an empty list instead.  Any idea?

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
唐詩133 劉長卿  秋日登吳公臺上寺遠眺
    古臺搖落後  秋日望鄉心  野寺人來少  雲峰水隔深
    夕陽依舊壘  寒磬滿空林  惆悵南朝事  長江獨至今
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to