[Haskell-cafe] Types depending on tuples.

Tom Ellis tom-lists-haskell-cafe-2013 at jaguarpaw.co.uk
Tue Aug 26 20:00:23 UTC 2014

On Tue, Aug 26, 2014 at 12:36:38PM -0700, John Lato wrote:
> On Aug 26, 2014 6:16 AM, "Tom Ellis" <
> tom-lists-haskell-cafe-2013 at jaguarpaw.co.uk> wrote:
> >
> > On Tue, Aug 26, 2014 at 03:54:41AM -0500, Mike Meyer wrote:
> > > Weird. I thought that's what I tried. Must have done something else.
> >
> > You said "need to convert lists of Vector's to a list of lists of
> > Doubles" ([[Double]]).  This is just list of Doubles ([Double]).
> This operates on a single Vector. You can just map this function over a
> list to do the requested conversion.

Sure, I'm just saying that given that the original error was apparently

    no match between the expected type 'Double' and the actual type '[t1]'

this may be the source of the problem.

More information about the Haskell-Cafe mailing list