2013-11-12 15:38:00 -08:00
|
|
|
Variable x : Int
|
2013-12-18 21:18:45 -08:00
|
|
|
SetOption pp::notation false
|
2013-11-12 16:05:46 -08:00
|
|
|
(**
|
2013-11-12 15:38:00 -08:00
|
|
|
print(get_options())
|
2013-11-12 16:05:46 -08:00
|
|
|
**)
|
2013-11-12 15:38:00 -08:00
|
|
|
Check x + 2
|
2013-11-12 16:05:46 -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())
|
2013-11-12 16:05:46 -08:00
|
|
|
**)
|
2013-11-12 15:38:00 -08:00
|
|
|
Check x + 2
|
2013-11-12 16:05:46 -08:00
|
|
|
(**
|
2013-11-12 15:38:00 -08:00
|
|
|
set_option(name('lean', 'pp', 'notation'), false)
|
|
|
|
print(get_options())
|
2013-11-12 16:05:46 -08:00
|
|
|
**)
|
2013-11-12 15:38:00 -08:00
|
|
|
Variable y : Int
|
|
|
|
Check x + y
|