2014-01-01 21:52:25 +00:00
|
|
|
Import Int.
|
2013-11-12 23:38:00 +00:00
|
|
|
Variable x : Int
|
2013-12-19 05:18:45 +00:00
|
|
|
SetOption pp::notation false
|
2014-01-05 18:32:47 +00:00
|
|
|
(*
|
2013-11-12 23:38:00 +00:00
|
|
|
print(get_options())
|
2014-01-05 18:32:47 +00:00
|
|
|
*)
|
2013-11-12 23:38:00 +00:00
|
|
|
Check x + 2
|
2014-01-05 18:32:47 +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())
|
2014-01-05 18:32:47 +00:00
|
|
|
*)
|
2013-11-12 23:38:00 +00:00
|
|
|
Check x + 2
|
2014-01-05 18:32:47 +00:00
|
|
|
(*
|
2013-11-12 23:38:00 +00:00
|
|
|
set_option(name('lean', 'pp', 'notation'), false)
|
|
|
|
print(get_options())
|
2014-01-05 18:32:47 +00:00
|
|
|
*)
|
2013-11-12 23:38:00 +00:00
|
|
|
Variable y : Int
|
|
|
|
Check x + y
|