lean4-htt/library/system
Leonardo de Moura 169cd87dbe feat(library/system/io): add io.run_tactic
@nunoplopes @aqjune
I had to add a new primitive to allow you to execute a tactic from the
`main` function. The `main` function is in the `io` monad. The new
primitive has type:
```
meta constant io.run_tactic {α : Type} (a : tactic α) : io α
```
I also added a new test that shows how to use it.
The test displays all declarations that have the `nat` prefix.

cc @kha
2018-03-07 12:15:26 -08:00
..
io.lean feat(library/system/io): add io.run_tactic 2018-03-07 12:15:26 -08:00
io_interface.lean feat(library/system/io): add random number generator support in the io monad 2018-02-15 16:12:08 -08:00
random.lean fix(library/system/random): bug at rand_nat 2018-02-16 11:20:43 -08:00