Hi,
Maybe this is expected behaviour (and I have not understood something), but I notice that the following code does not give me any errors or warnings in the editor, but (as expected) does not build or run:
----
{-# LANGUAGE MonomorphismRestriction #-}
module Main
where
import System.IO
-- concat'' :: [[a]] -> [a]
concat'' = foldr (++) []
main = do
putChar 'x'
----
Thanks,
Farhad