Hi Alex,
On 12. Sep, 2014, at 16:06, Alexander Burger a...@software-lab.de wrote:
It is not a good idea to build a list only to count its length. Better
count in a loop directly, e.g.:
(de sindex (Frag Src)
(for ((I . L) (chop Src) L (cdr L))
(T (pre? Frag L) I) ) )
For
Hi Jon,
For this 'sindex' I think it would be good to first test if Frag is
NIL, since with your version above (sindex NIL foo) would give 1.
The 1 is (arguably) correct, because an empty string is a substring of
*every* string.
: (pre? NIL bla)
- bla
♪♫ Alex
--
UNSUBSCRIBE:
Hi Christophe,
On Sun, Sep 14, 2014 at 10:07:21PM +0200, Christophe Gragnic wrote:
I was wondering how easy it was to pass floats to java libs from Ersatz,
and also maybe receive some and rescale them to ints.
I haven't used Ersatz since quite some time, and forgot most of the
details. But