2017-10-18 14:57:07 +00:00
|
|
|
#lang typed/syndicate
|
|
|
|
|
2017-11-01 20:09:07 +00:00
|
|
|
#;(require racket/base)
|
2017-10-18 14:57:07 +00:00
|
|
|
|
2017-11-01 20:09:07 +00:00
|
|
|
(spawn ⊥
|
|
|
|
(facet _
|
|
|
|
(assert "hello")))
|
2017-10-18 14:57:07 +00:00
|
|
|
|
2017-11-01 20:09:07 +00:00
|
|
|
(spawn ⊥
|
|
|
|
(facet _
|
|
|
|
(on (asserted "hello")
|
|
|
|
(unsafe-do (printf "got hello\n")))))
|