Details
-
Type:
Enhancement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Completed
-
Affects Version/s: None
-
Fix Version/s: Release 1.3
-
Component/s: None
-
Labels:None
-
Patch:Code
-
Approval:Ok
Description
Do not tackle the bigger "abstractions around visibility, delay, blocking" etc. issue. This is a minimal fix:
- print code already deals with future as a special case
- should special-case promise as well
- make a definterface IPromiseImpl that you can switch on
- right above promise in core.clj
- has a method that gets you what you need to ask "has-value?"
- in print code
- if has value, show it, if not, show :not-delivered
- make sure to fix print code in both core_print and pprint
Attachments
Activity
Aaron Bedra
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Attachment | 0680_nonblocking_promise_printing.patch [ 10042 ] | |
| Approval | Test | |
| Waiting On | stu | |
| Patch | Code |
Stuart Halloway
made changes -
| Approval | Test | Screened |
| Waiting On | stu | richhickey |
Rich Hickey
made changes -
| Approval | Screened | Ok |
Rich Hickey
made changes -
| Waiting On | richhickey |
Stuart Halloway
made changes -
| Status | Open [ 1 ] | Closed [ 6 ] |
| Resolution | Completed [ 1 ] |