On 16/04/06, Taral <[EMAIL PROTECTED]> wrote:
> On 4/15/06, John Goerzen <[EMAIL PROTECTED]> 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)
_______________________________________________
Haskell-prime mailing list
[email protected]
http://haskell.org/mailman/listinfo/haskell-prime