mirror of
https://github.com/unisonweb/unison.git
synced 2024-10-05 14:17:33 +03:00
10 lines
208 B
Plaintext
10 lines
208 B
Plaintext
--IO effect
|
|
effect IO where
|
|
launch-missiles : () -> {IO} ()
|
|
-- binding is not guarded by a lambda, it only can access
|
|
-- ambient abilities (which will be empty)
|
|
ex1 : {IO} ()
|
|
ex1 = IO.launch-missiles()
|
|
()
|
|
|