on master help sign in
Add a couple of tests for lambdas with block arguments
commitd0a44c23cb65250b7937c8940d5830d8d3cc3b07 authormrkkrp <mark.karpov@tweag.io> dateFri 16 Aug 2019, 16:40 (7 years ago) parent0f76bd4
2 files changed+11
data/examples/declaration/value/function/block-arguments-out.hs+6 data/examples/declaration/value/function/block-arguments.hs+5
data/examples/declaration/value/function/block-arguments-out.hs+6
@@ -22,3 +22,9 @@ f6 =
2222 if bar
2323 then baz
2424 else not baz
25+
26+f7 = foo \x -> y
27+
28+f8 =
29+ foo \x ->
30+ y
data/examples/declaration/value/function/block-arguments.hs+5
@@ -16,3 +16,8 @@ f5 = foo let a = 3
1616f6 = foo if bar
1717 then baz
1818 else not baz
19+
20+f7 = foo \x -> y
21+
22+f8 = foo \x ->
23+ y