1 API
1API
8.18
top
← prev up next →

Repeated applicationπŸ”— i

Vincent Nys

This package contains two functions which roughly generalize apply (though they do not support keyword arguments or a final list? argument). They can be used for computing a least fixpoint or for succinctly expressing a finite number of recursive calls.

1APIπŸ”— i

procedure

( apply↑* fargs)any

args:any
Applies f to args, to the result of said application, etc. until a fixpoint is reached.

procedure

( apply↑ fnargs)any

args:any
Applies f to args, to the result of said application, etc. until n applications have been performed. If n is 1, this is the same as using apply .

top
← prev up next →

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /