2013-11-12 23:38:00 +00:00
|
|
|
Variable x : Int
|
2013-12-19 05:18:45 +00:00
|
|
|
SetOption pp::notation false
|
2013-11-13 00:05:46 +00:00
|
|
|
(**
|
2013-11-12 23:38:00 +00:00
|
|
|
print(get_options())
|
2013-11-13 00:05:46 +00:00
|
|
|
**)
|
2013-11-12 23:38:00 +00:00
|
|
|
Check x + 2
|
2013-11-13 00:05:46 +00:00
|
|
|
(**
|
2013-11-12 23:38:00 +00:00
|
|
|
o = get_options()
|
|
|
|
o = o:update(name('lean', 'pp', 'notation'), true)
|
|
|
|
set_options(o)
|
|
|
|
print(get_options())
|
2013-11-13 00:05:46 +00:00
|
|
|
**)
|
2013-11-12 23:38:00 +00:00
|
|
|
Check x + 2
|
2013-11-13 00:05:46 +00:00
|
|
|
(**
|
2013-11-12 23:38:00 +00:00
|
|
|
set_option(name('lean', 'pp', 'notation'), false)
|
|
|
|
print(get_options())
|
2013-11-13 00:05:46 +00:00
|
|
|
**)
|
2013-11-12 23:38:00 +00:00
|
|
|
Variable y : Int
|
|
|
|
Check x + y
|