mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-18 16:51:51 +03:00
bcf8598f99
* [ refactor ] moving Data.OpenUnion to base * [ new ] System.Concurrency.(Linear/Session) * [ test ] for the new feature Fixing other tests impacted by the refactoring * [ cleanup ] move definitions around, touch up docs * [ fix ] re-export linear notations for Control.Linear.LIO
6 lines
201 B
Plaintext
6 lines
201 B
Plaintext
main: Forking two threads natrando and computer
|
|
natrando: picked the natural 100
|
|
natrando: picked the natural 50
|
|
computer: summing 100 and 50
|
|
main: Threads have finished and returned (100, 50) and 150
|