Idris2-boot/docs/listing/idris-prompt-helloworld.txt

16 lines
556 B
Plaintext
Raw Normal View History

$ idris hello.idr
2020-02-25 21:34:32 +03:00
____ __ _ ___
/ _/___/ /____(_)____ |__ \
/ // __ / ___/ / ___/ __/ / Version 0.1.0
_/ // /_/ / / / (__ ) / __/ https://www.idris-lang.org
/___/\__,_/_/ /_/____/ /____/
2020-02-25 21:34:32 +03:00
Welcome to Idris 2. Enjoy yourself!
Main> :t main
Main.main : IO ()
2020-02-25 21:34:32 +03:00
Main> :c hello main
compiling hello.ss with output to hello.so
File hello.so written
Main> :q
Bye for now!