[project @ 1996-01-08 20:28:12 by partain]
[ghc-hetmet.git] / ghc / CONTRIB / pphs / docs / math.hs
diff --git a/ghc/CONTRIB/pphs/docs/math.hs b/ghc/CONTRIB/pphs/docs/math.hs
new file mode 100644 (file)
index 0000000..4906527
--- /dev/null
@@ -0,0 +1,3 @@
+-- list concatenation (right-associative)
+(++)                   :: [a] -> [a] -> [a]
+xs ++ ys               =  foldr (:) ys xs