Idris-dev/test/interactive005/input
David Raymond Christiansen e90316a5e1 Support type errors in docstrings
Now, code blocks that are declared to be Idris code (with the Markdown
language specifier) are type checked, and any type checker or parser
errors that occur are retained and displayed to IDEs.
2014-10-18 09:09:39 -07:00

26 lines
374 B
Plaintext

:consolewidth 80
the Nat (1 + 2)
:exec
:c bytecode hello.bytecode
:c c hello
:doc main
:reload
:consolewidth 80
:load interactive005.idr
:total main
:exec
:consolewidth 80
:t id
:set showimplicits
:t id
:unset showimplicits
:t id
:warranty
:consolewidth 10
:doc main
:consolewidth infinite
:doc main
:let data Nat2 = Zero | Succ Nat2
:t Nat2
:compile Test.idr
:compile a.out