[Haskell-cafe] instance for (Show ([(String, Int)] -> Int))

Henning Thielemann lemming at henning-thielemann.de
Fri Dec 24 19:23:18 CET 2010


On Fri, 24 Dec 2010, Aaron Gray wrote:

> How do I code an 'instance' declaration for '(Show ([(String, Int)] -> Int))'.

You ask for displaying a function that maps from [(String, Int)] to Int. 
What shall the generated text look like?



More information about the Haskell-Cafe mailing list