-
-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
86 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#lang typed/racket/base | ||
|
||
|
||
(struct aaa0 ((evt : (Evtof Number))) | ||
#:property prop:evt (struct-field-index evt)) | ||
|
||
(ann (sync (aaa0 (make-channel))) Number) | ||
|
||
|
||
(struct aaa1 ([evt : (Evtof Number)]) | ||
#:property prop:evt 0) | ||
|
||
(ann (sync (aaa1 (make-channel))) Number) | ||
|
||
(struct aaa2 ([evt : (Evtof Number)]) | ||
#:property prop:evt (lambda ([self : aaa2]) : (Evtof Number) | ||
(aaa2-evt self))) | ||
|
||
(ann (sync (aaa2 (make-channel))) Number) | ||
|
||
(struct aaa3 ([evt : (Evtof String)]) | ||
#:property prop:evt (ann (make-channel) (Evtof String))) | ||
|
||
(ann (sync (aaa3 (make-channel))) String) | ||
|
||
|
||
(struct aaa4 ([evt : (Evtof String)]) | ||
#:property prop:evt (make-channel)) | ||
|
||
(ann (sync (aaa3 (make-channel))) String) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters