lean4-htt/library
Leonardo de Moura ac13f8b0f9 feat(library/system/io): add random number generator support in the io monad
@aqjune @nunoplopes: See new tests at tests/lean/run/random.lean

We have two actions in `io`. By default, `io` uses the C++
random number generator, but we can force it to use a `std_gen` with
the action `set_rand_gen`.

def rand (lo : nat := std_range.1) (hi : nat := std_range.2) : io nat
def set_rand_gen : std_gen → io unit
2018-02-15 16:12:08 -08:00
..
data feat(library/tactic/simplify): add simp! 2018-01-16 17:29:24 -08:00
init fix(library/init/data/nat/basic): missing lemma 2018-02-15 14:36:28 -08:00
smt chore(library/init/meta): add to_unfold parameter to simplify, and remove redundant simp* tactics 2017-07-02 15:26:06 -07:00
system feat(library/system/io): add random number generator support in the io monad 2018-02-15 16:12:08 -08:00
tools/debugger chore(library): use new structure update notation in the core lib 2017-11-17 16:57:54 -08:00
leanpkg.path feat(leanpkg): add package manager 2017-05-01 14:11:38 -07:00
library.md chore(library/library.md): update documentation 2017-08-16 14:17:26 -07:00