
16 Apr
2006
16 Apr
'06
11:53 a.m.
On 16/04/06, Taral
On 4/15/06, John Goerzen
wrote: On the downside, this means that I couldn't just say:
take 5 mylist
I'd instead have to write:
take (5::Int) mylist
Wouldn't defaulting do this?
Yeah, defaulting should make that 5 an Integer by default. (unless the defaults have been changed by use of the default keyword of course)