
15 Oct
2010
15 Oct
'10
6:51 p.m.
On 16 October 2010 00:47, Jacek Generowicz
-- why does "show 2" compile, while "view 2" gives an -- 'Ambiguous type variable' error
fine = view (2::Int) noProblem = show 2 ambiguousTypeVariable = view 2
Don't integral literals default to Integer, of which there is a Show instance but no View instance?