Ghci type inference to [()] -> String, when should be Show a => [a] -> Striing
GHCi, version 7.0.3 from Haskell Platform 2011.2.0.1
- Main> let test = intercalate ";" . map (\a -> "Id=" ++ show a) :: Show a => [a] -> String
- Main> :t test
test :: [()] -> String
Trac metadata
Trac field | Value |
---|---|
Version | 7.0.3 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |