Merge pull request #2 from capfredf/fix-types
replace Promise with (Promise Any) due to kinding
This commit is contained in:
commit
919a52ef18
|
@ -30,8 +30,8 @@
|
||||||
|
|
||||||
(unsafe-require/typed
|
(unsafe-require/typed
|
||||||
"pure-unsafe.rkt"
|
"pure-unsafe.rkt"
|
||||||
[promise/pure/maybe-stateful? (→ Any Boolean : Promise)]
|
[promise/pure/maybe-stateful? (→ Any Boolean : (Promise Any))]
|
||||||
[promise/pure/stateless? (→ Any Boolean : Promise)]
|
[promise/pure/stateless? (→ Any Boolean : (Promise Any))]
|
||||||
[make-promise/pure/stateful (∀ (a) (→ (→ a) (Promise a)))]
|
[make-promise/pure/stateful (∀ (a) (→ (→ a) (Promise a)))]
|
||||||
[make-promise/pure/stateless (∀ (a) (→ (→ a) (Promise a)))]
|
[make-promise/pure/stateless (∀ (a) (→ (→ a) (Promise a)))]
|
||||||
[declared-stateful-pure-function? (→ Any Boolean)]
|
[declared-stateful-pure-function? (→ Any Boolean)]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user