Show and Read
class Show a where
show :: a -> String
class Read a where
read :: String -> a
These are simplifications: there are more methods in reality.
read . show = id (usually)
Föregående bild
Nästa bild
Tillbaka till första bilden
Visa grafisk version