Hi JmageK,
> The previous mail quizzed me about, the (set (nth u 5) 1000) part.
> I understand it basically setting a value at a certain place like u[5] = 1000
> in c like languages. nth returns a list starting from count and set evaluates
> then sets the value of variable.
The important point
Hi Joh-Tob Schäg,
thanks for the long, good and detailed explanation!
> Why wait for the full list? This might get really ugly if the list
> becomes partially garbage and is written to. I am not sure this
> behaves since this is internal to the interpreter and "undefined
> behavior"
There is
Hey Alex,
Since json.l is available in standard library, I'd prefer to use it :)
Regards,
Kashyap
On Thu, May 9, 2019 at 1:08 AM Alexander Williams
wrote:
> If you're just trying to work with the decimal numbers in PicoLisp, then
> why not just use fixed-point?
>
> You can modify my json.l and
The previous mail quizzed me about, the (set (nth u 5) 1000) part.
I understand it basically setting a value at a certain place like u[5] = 1000
in c like languages. nth returns a list starting from count and set evaluates
then sets the value of variable. But, not sure why this is actually
The docs:
(later 'var . prg) -> varExecutes prg in a pipe'ed child process. The
return value of prg will later be available in var. Note that later
uses pr and rd to communicate the result, so prg should not write any
data to standard output as a side effect.
: (prog1 # Parallel background
Hi Alex,
Could you please explain the role of (cons) as the first parameter to
later? If I understand correctly, that does not seem to have a role in the
the final list return values from the child processes.
Regards,
Kashyap
On Sun, May 12, 2019 at 7:17 AM C K Kashyap wrote:
> Yup ... that's
Yup ... that's the first edit I tried :)
Regards,
Kashyap
On Sun, May 12, 2019 at 12:34 AM Alexander Burger
wrote:
> On Sat, May 11, 2019 at 10:09:27PM +0200, Alexander Burger wrote:
> >(let Lst
> > (mapcan
> > '((File)
> > (later (cons)
> >(...
On Sat, May 11, 2019 at 10:09:27PM +0200, Alexander Burger wrote:
>(let Lst
> (mapcan
> '((File)
> (later (cons)
>(... download File ...)
>T ) )
> ...
Note that instead of 'T' you may also return any non-NIL value, e.g. the