Function Composition
(f . g) x = f (g x)
Function composition simplifies definitions:
bytesInFile = length . file
linesInFile = length . lines . file
wordsInFile = length . words . file
Föregående bild
Nästa bild
Tillbaka till första bilden
Visa grafisk version