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

15 lines
404 B
Plaintext
Raw Normal View History

2020-05-20 13:23:04 +03:00
$ idris hello.idr
____ __ _ ___
/ _/___/ /____(_)____ |__ \
2020-05-20 21:09:26 +03:00
/ // __ / ___/ / ___/ __/ / Version 0.2.0
2020-05-20 13:23:04 +03:00
_/ // /_/ / / / (__ ) / __/ https://www.idris-lang.org
/___/\__,_/_/ /_/____/ /____/ Type :? for help
Welcome to Idris 2. Enjoy yourself!
Main> :t main
Main.main : IO ()
Main> :c hello main
2020-06-30 15:44:36 +03:00
File build/exec/hello written
2020-05-20 13:23:04 +03:00
Main> :q
Bye for now!