mirror of
https://github.com/github/semantic.git
synced 2024-12-25 16:02:43 +03:00
8 lines
179 B
Python
8 lines
179 B
Python
|
# CHECK-TREE: { const <- \a -> \b -> { identity <- \x -> x; identity a }; #record{ const: const }}
|
||
|
|
||
|
def const(a, b):
|
||
|
def identity(x):
|
||
|
return x
|
||
|
|
||
|
return identity(a)
|