mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-19 09:12:34 +03:00
bd683938bf
Co-authored-by: Guillaume ALLAIS <guillaume.allais@ens-lyon.org>
12 lines
165 B
Idris
12 lines
165 B
Idris
module Main
|
|
|
|
import System
|
|
|
|
main : IO ()
|
|
main = do
|
|
threadID <- fork $ do
|
|
sleep 1
|
|
putStrLn "Hello"
|
|
threadWait threadID
|
|
putStrLn "Goodbye"
|