2019-01-29 17:56:16 +03:00
|
|
|
(a)=>b
|
2019-12-16 12:08:21 +03:00
|
|
|
; // 1 args
|
2019-01-29 17:56:16 +03:00
|
|
|
(a, b)=>c
|
2019-12-16 12:08:21 +03:00
|
|
|
; // n args
|
2019-01-29 17:56:16 +03:00
|
|
|
()=>b
|
2019-12-16 12:08:21 +03:00
|
|
|
; // 0 args
|
2019-01-29 17:56:16 +03:00
|
|
|
(a)=>(b)=>c
|
2019-12-16 12:08:21 +03:00
|
|
|
; // func returns func returns func
|
2019-01-29 17:56:16 +03:00
|
|
|
(a)=>((b)=>c
|
|
|
|
)
|
2019-12-16 12:08:21 +03:00
|
|
|
; // So these parens are dropped
|
2019-01-29 17:56:16 +03:00
|
|
|
()=>(b, c)=>d
|
2019-12-16 12:08:21 +03:00
|
|
|
; // func returns func returns func
|
2018-11-14 13:40:46 +03:00
|
|
|
(a)=>{
|
|
|
|
return b;
|
2018-10-25 07:17:05 +03:00
|
|
|
};
|
2019-01-29 17:56:16 +03:00
|
|
|
(a)=>'e'
|
2019-12-16 12:08:21 +03:00
|
|
|
; // Dropping the parens
|