projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[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
+++ b/
ghc/CONTRIB/pphs/docs/math.hs
@@ -0,0
+1,3
@@
+-- list concatenation (right-associative)
+(++) :: [a] -> [a] -> [a]
+xs ++ ys = foldr (:) ys xs