lean2/tests/lean/lua6.lean
Leonardo de Moura ce1213a020 feat(frontends/lean): use '(* ... *)' instead of '(** ... **)' for script code blocks
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-01-05 10:32:47 -08:00

20 lines
326 B
Text

Import Int.
Variable x : Int
SetOption pp::notation false
(*
print(get_options())
*)
Check x + 2
(*
o = get_options()
o = o:update(name('lean', 'pp', 'notation'), true)
set_options(o)
print(get_options())
*)
Check x + 2
(*
set_option(name('lean', 'pp', 'notation'), false)
print(get_options())
*)
Variable y : Int
Check x + y