Sign in
◑
Theme
android
/
platform
/
tools
/
idea
/
studio-master-dev
/
.
/
plugins
/
groovy
/
testdata
/
highlighting
/
lambda
/
Currying.groovy
blob: d8449151d6dc2b1fa1e65ff9d14aaabe31b5e278 [
file
]
def
cl
=
(
Map
m
,
String
s
,
int
x
,
def
y
)
->
print
"foo"
cl
=
cl
.
rcurry
(
2
,
4
)
cl
=
cl
.
ncurry
(
1
,
"a"
)
cl
(
a
:
2
)
cl
<
warning descr
=
"'call' cannot be applied to '()'"
>()</
warning
>