[Haskell-cafe] Phantoms

Bulat Ziganshin bulat.ziganshin at gmail.com
Fri Aug 8 13:56:50 EDT 2008


Hello Andrew,

Wednesday, August 6, 2008, 10:09:43 PM, you wrote:

> Here's the thing though... How do I get it so that "Foo Int" and "Foo
> Double" produce slightly different strings when printed?

instnace Show (Foo Int) ...
instnace Show (Foo Double) ...


-- 
Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com



More information about the Haskell-Cafe mailing list