title: Couldn't match expected type `Maybe Int -> Char' with actual type `Char'
body: <p>I have the following haskell code. The piece thats commented out runs well, but i wanted to make it a bit shorter by using lambdas. Unfortunately i dont seem to compile the code. 
  intToDigit returns a Character but for values below 15. Thats what i suspected was causing the problem..</p>
  
  <pre><code>printSudRow :: [Maybe Int] -&gt; String
  printSudRow []       = []
  --printSudRow (ro:ros) = parseMaybeToStr ro : printSudRow ros
  --                       where parseMaybeToStr Nothing  = '.'
  --                           parseMaybeToStr (Just v) = intToDigit v
  printSudRow (ro:ros) = (\ro -&gt; 
      if (isJust ro) then intToDigit $ fromJust ro else '.') : printSudRow ros
  </code></pre>