2014-01-05 20:05:08 +00:00
|
|
|
import Int.
|
2013-12-30 21:35:37 +00:00
|
|
|
|
2014-01-05 19:03:35 +00:00
|
|
|
print 10 = 20
|
2014-01-05 20:05:08 +00:00
|
|
|
variable f : Int -> Int -> Int
|
|
|
|
variable g : Int -> Int -> Int -> Int
|
|
|
|
notation 10 _ ++ _ : f
|
|
|
|
notation 10 _ ++ _ : g
|
|
|
|
setoption pp::implicit true
|
|
|
|
setoption pp::notation false
|
2014-01-05 19:03:35 +00:00
|
|
|
print (10 ++ 20)
|
|
|
|
print (10 ++ 20) 10
|