> 
> Is there a PicoLisp function similar to the Scheme 'foldl'?
> 
> See description here:
> 
> https://docs.racket-lang.org/reference/pairs.html?q=foldl#%28def._%28%28lib._racket%2Fprivate%2Flist
> .rkt%29._foldl%29%29
> 

There is no foldl. This is too general and not required in core.
What you intent to do ? 

Truly, I cant imagine when somebody needs it, because

(foldl cons '() '(1 2 3 4)) is (reverse)
and
(foldl + 0 '(1 2 3 4)) is (sum)


(mike)

> ​/Jon

--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Reply via email to