mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-25 20:51:43 +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"
|