2014-01-05 12:05:08 -08:00
|
|
|
import Int.
|
|
|
|
variable x : Int
|
2014-01-09 08:33:52 -08:00
|
|
|
set_option pp::notation false
|
2014-01-05 10:32:47 -08:00
|
|
|
(*
|
2013-11-12 15:38:00 -08:00
|
|
|
print(get_options())
|
2014-01-05 10:32:47 -08:00
|
|
|
*)
|
2014-01-05 12:05:08 -08:00
|
|
|
check x + 2
|
2014-01-05 10:32:47 -08:00
|
|
|
(*
|
2013-11-12 15:38:00 -08:00
|
|
|
o = get_options()
|
|
|
|
o = o:update(name('lean', 'pp', 'notation'), true)
|
|
|
|
set_options(o)
|
|
|
|
print(get_options())
|
2014-01-05 10:32:47 -08:00
|
|
|
*)
|
2014-01-05 12:05:08 -08:00
|
|
|
check x + 2
|
2014-01-05 10:32:47 -08:00
|
|
|
(*
|
2013-11-12 15:38:00 -08:00
|
|
|
set_option(name('lean', 'pp', 'notation'), false)
|
|
|
|
print(get_options())
|
2014-01-05 10:32:47 -08:00
|
|
|
*)
|
2014-01-05 12:05:08 -08:00
|
|
|
variable y : Int
|
|
|
|
check x + y
|