Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
12
Task/Hello-world-Text/Agda/hello-world-text.agda
Normal file
12
Task/Hello-world-Text/Agda/hello-world-text.agda
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
module HelloWorld where
|
||||
|
||||
open import Agda.Builtin.IO using (IO)
|
||||
open import Agda.Builtin.Unit renaming (⊤ to Unit)
|
||||
open import Agda.Builtin.String using (String)
|
||||
|
||||
postulate putStrLn : String -> IO Unit
|
||||
{-# FOREIGN GHC import qualified Data.Text as T #-}
|
||||
{-# COMPILE GHC putStrLn = putStrLn . T.unpack #-}
|
||||
|
||||
main : IO Unit
|
||||
main = putStrLn "Hello world!"
|
||||
Loading…
Add table
Add a link
Reference in a new issue