Next Atypical Types 33

Overloading

         show 137               yields    "137"
         show True              yields    "True"
         show "Foo"             yields    "\"Foo\""
        Show Integer            ("Integer is an instance of Show")
        Show Bool               ("Bool is an instance of Show")
        Show [Char]             ("[Char] is an instance of Show")


Next Copyright © 1999,2008 Mark Dominus