2014-01-05 12:05:08 -08:00
|
|
|
import Int.
|
2013-12-30 13:35:37 -08:00
|
|
|
|
2014-01-05 11:03:35 -08:00
|
|
|
print 10 = 20
|
2014-01-05 12:05:08 -08:00
|
|
|
variable f : Int -> Int -> Int
|
|
|
|
variable g : Int -> Int -> Int -> Int
|
|
|
|
notation 10 _ ++ _ : f
|
|
|
|
notation 10 _ ++ _ : g
|
2014-01-09 08:33:52 -08:00
|
|
|
set_option pp::implicit true
|
|
|
|
set_option pp::notation false
|
2014-01-05 11:03:35 -08:00
|
|
|
print (10 ++ 20)
|
|
|
|
print (10 ++ 20) 10
|