Re: Function similar to Scheme 'foldl'?

2018-10-08 Thread John Duncan
Yeah, all foldl does in scheme or haskell is encapsulate this pattern. In haskell and scheme they like it for being able to compose functions. For example: sum = foldl + 0 Perhaps not as useful in Picolisp, which is not exactly a functional language in the same sense. On Mon, Oct 8, 2018 at

Re: Function similar to Scheme 'foldl'?

2018-10-08 Thread Mike
> > 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