This website requires JavaScript.
Explore
Help
Sign In
syndicate-lang
/
syndicate-2017
Watch
1
Star
0
Fork
You've already forked syndicate-2017
0
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
db41cb63d7
syndicate-2017
/
racket
/
typed
/
examples
/
roles
/
simple-dataspace.rkt
7 lines
108 B
Racket
Raw
Normal View
History
Unescape
Escape
dataspace form
2018-07-30 15:54:05 +00:00
#lang
typed/syndicate/roles
Don't use syndicate's action-collecting module-begin Implicitly starting a dataspace with top-level actions is a hole for the type system, which needs to know the type of possible assertions. Instead, provide `run-ground-dataspace` for kicking off the program.
2019-01-25 15:51:46 +00:00
(
run-ground-dataspace
Int
dataspace form
2018-07-30 15:54:05 +00:00
(
spawn
Int
(
start-facet
_
(
assert
42
)
)
)
)