2014-01-05 20:05:08 +00:00
|
|
|
import Int.
|
|
|
|
variable x : Int
|
2014-01-09 16:33:52 +00:00
|
|
|
set_option 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
|
|
|
*)
|
2014-01-05 20:05:08 +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
|
|
|
*)
|
2014-01-05 20:05:08 +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
|
|
|
*)
|
2014-01-05 20:05:08 +00:00
|
|
|
variable y : Int
|
|
|
|
check x + y
|