summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
Diffstat (limited to 'Build')
-rw-r--r--Build/EvilSplicer.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/Build/EvilSplicer.hs b/Build/EvilSplicer.hs
index 22113226a..d70c0a220 100644
--- a/Build/EvilSplicer.hs
+++ b/Build/EvilSplicer.hs
@@ -268,6 +268,10 @@ expandExpressionSplice s lls = concat [before, spliced:padding, end]
-- function definition needs no preparation
-- ie: foo = $(splice)
| "=" `isSuffixOf` s' = s
+ -- nor does lambda definition
+ | "->" `isSuffixOf` s' = s
+ -- nor does a let .. in declaration
+ | "in" `isSuffixOf` s' = s
-- already have a $ to set off the splice
-- ie: foo $ $(splice)
| "$" `isSuffixOf` s' = s