diff --git a/fay-base.cabal b/fay-base.cabal
--- a/fay-base.cabal
+++ b/fay-base.cabal
@@ -1,5 +1,5 @@
 name:                fay-base
-version:             0.14.1.0
+version:             0.14.2.0
 synopsis:            The base package for Fay.
 description:         The base package for Fay.
                      This package exports Prelude and FFI which you probably want to use with Fay.
diff --git a/src/Prelude.hs b/src/Prelude.hs
--- a/src/Prelude.hs
+++ b/src/Prelude.hs
@@ -271,7 +271,7 @@
 
 (=<<) :: (a -> Fay b) -> Fay a -> Fay b
 f =<< x = x >>= f
-infixl 1 =<<
+infixr 1 =<<
 
 -- | Evaluate each action in the sequence from left to right,
 -- and collect the results.
@@ -831,7 +831,8 @@
   where isLineBreak c = c == '\r' || c == '\n'
 
 unlines :: [String] -> String
-unlines = intercalate "\n"
+unlines [] = []
+unlines (l:ls) = l ++ '\n' : unlines ls
 
 words :: String -> [String]
 words str = words' (dropWhile isSpace str)
