An experimental Racket library providing an abstraction for values associated with external resources that allows automatic resource pooling, per-thread virtual construction, and monadic composition
The event log added to a disposable with disposable/event-log is itself a resource, and it means the wrapped disposable behaves somewhat unexpectedly with a reference to external memory not contained in a disposable. Making disposable/event-log return a disposable producing both the wrapped disposable and a log would better cooperate with testing libraries that add abstractions on top of disposables.
The event log added to a disposable with
disposable/event-log
is itself a resource, and it means the wrapped disposable behaves somewhat unexpectedly with a reference to external memory not contained in a disposable. Makingdisposable/event-log
return a disposable producing both the wrapped disposable and a log would better cooperate with testing libraries that add abstractions on top of disposables.