From 3cb4e807492271df66832aea3f785c7964e5b29c Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Tue, 5 Feb 2008 22:53:37 +0000 Subject: [PATCH] Fixed a monomorphism restriction warning in the Unnest module --- transformations/Unnest.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/transformations/Unnest.hs b/transformations/Unnest.hs index 23075b2..45fb139 100644 --- a/transformations/Unnest.hs +++ b/transformations/Unnest.hs @@ -35,6 +35,7 @@ import Types unnest :: Pass unnest = runPasses passes where + passes :: [(String, Pass)] passes = [ ("Convert free names to arguments", removeFreeNames) , ("Pull nested definitions to top level", removeNesting)