Next: API, Previous: Guile Compose Reference, Up: Guile Compose Reference
The main purpose of this package is to help to compose procedures into
higher order procedures, like Guile’s native compose
procedure. Though, compose procedure may seem not
human-friendly, as it applies procedures in reverse order from they
are passed to it. But still, that’s not the problem this package is
aimed to help with.
This package tries to expand Guile’s native procedure composition capabilities.
Why should one bother about procedure composition? Well, it can be successfully applied only when some existing procedures are indeed composable. E.g. if some application’s code can be seen as a data transformation process, which can be split into several procedures of the same arity, then chances are that the composition pattern can be applied for it.
In most cases Scheme programs are successfully composed with
(let* () ... ) and this package is not intended to introduce
some new development flow or be the framework for Scheme code.
This package has appeared from development of the compose-cont
macro, which can help to compose procedures adding the ability to
control the execution flow for each of them by passing delimited
continuations (that the -cont part of the name is about).
In addition, it contains some utilities, but, in general, it is intended to be a tiny package, which serves as a base for other ones.
Next: API, Previous: Guile Compose Reference, Up: Guile Compose Reference