simplify tacks on a raveled zero rather than return a length zero list.

   simplify 0
0
   $ simplify 0
1

   simplify ''
0


|Date: Fri, 31 Jul 2020 09:27:02 +0000 (UTC)
|From: "'Bo Jacoby' via Programming" <[email protected]>
|To: programming <[email protected]>
|Subject: Re: [Jprogramming] ordinal fractions
|Message-ID: <[email protected]>
|Content-Type: text/plain; charset=UTF-8
|
| Many thanks to David for the interest in ordinal fraction arithmetic. I have not yet studied the implementation in full detail. Note however that when you strip all the zeroes from 3$0 you get 0$0 rather than 1$0.

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

Reply via email to