summaryrefslogtreecommitdiff
path: root/ghc/CONTRIB/pphs/docs/math.hs
blob: 49065277976c1fa47c823e15493979e8198fd3aa (plain)
1
2
3
-- list concatenation (right-associative)
(++)			:: [a] -> [a] -> [a]
xs ++ ys		=  foldr (:) ys xs