Summary
No promise type.
Metadata
- Id: d5802c187d2bde2a422801464bc9ee21c61428b6
- Trac id: 1798
- Type: enhancement
- Reporter: Zipheir
- Owner:
- Cc:
- Status: new
- Component: core libraries
- Estimated difficulty:
- Resolution:
- Priority: minor
- Milestone: someday
- Version: 5.3.0
- Changetime: 2023-11-06 23:39:46 UTC
- Created: 2022-02-11 23:16:24 UTC
- Keywords: types, promises
Description
Although promises are a Scheme type, `(chicken type)` does not provide a `promise` type. What does work is `(struct promise)`, which seems like an abstraction leak. Please expose a type for promises; even better, provide a parametric promise type, so that `(promise t)` is a type of delayed `t` values.