mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-20 18:21:47 +03:00
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"
|