[Haskell-cafe] Typeclasses and instances

Mark Carroll mark at ixod.org
Wed Mar 16 19:41:52 EST 2005


If I have,

	newtype Floating a => Vector a = Vector [a]

if I want to make it an instance of Functor (with the obvious meaning),
how do I write that?

Thanks,
        Mark

-- 
Haskell vacancies in Columbus, Ohio, USA: see http://www.aetion.com/jobs.html


More information about the Haskell-Cafe mailing list