Re: Still confused

1999-03-14 Thread Mike Thomas
Hi all. >Steve Frampton <[EMAIL PROTECTED]> wrote: >> foo x = ['1'] ++ foo(x div 10) >> *** term : foo >> *** type : ((a -> a -> a) -> b -> Int) -> [Char] >> *** does not match : Int -> [Char] Can someone please explain how to decipher the type line in this error mes

Re: Still confused

1999-03-14 Thread Tomasz Ɓukaszewicz
Mike Thomas <[EMAIL PROTECTED]> wrote: >>> foo x = ['1'] ++ foo(x div 10) >>> *** term : foo >>> *** type : ((a -> a -> a) -> b -> Int) -> [Char] >>> *** does not match : Int -> [Char] > >Can someone please explain how to decipher the type line in this error >message in

Re: Still confused

1999-03-14 Thread Daniel Russell
>>Steve Frampton <[EMAIL PROTECTED]> wrote: >>> foo x = ['1'] ++ foo(x div 10) >>> *** term : foo >>> *** type : ((a -> a -> a) -> b -> Int) -> [Char] >>> *** does not match : Int -> [Char] >Can someone please explain how to decipher the type line in this error >messa

RE: Still confused

1999-03-14 Thread chris angus
> > Hi all. > > >Steve Frampton <[EMAIL PROTECTED]> wrote: > >> foo x = ['1'] ++ foo(x div 10) > >> *** term : foo > >> *** type : ((a -> a -> a) -> b -> Int) -> [Char] > >> *** does not match : Int -> [Char] > > > Can someone please explain how to decipher the typ

Re: Still confused

1999-03-14 Thread Scott Turner
At 16:23 1999-03-14 +1000, Mike Thomas <[EMAIL PROTECTED]> wrote: >>Steve Frampton <[EMAIL PROTECTED]> wrote: >>> foo x = ['1'] ++ foo(x div 10) >>> *** term : foo >>> *** type : ((a -> a -> a) -> b -> Int) -> [Char] >>> *** does not match : Int -> [Char] > > >Can someo