mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-21 02:31:50 +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"
|