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