projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0161fb7
)
[project @ 2001-08-08 14:21:07 by simonmar]
author
simonmar
<unknown>
Wed, 8 Aug 2001 14:21:07 +0000
(14:21 +0000)
committer
simonmar
<unknown>
Wed, 8 Aug 2001 14:21:07 +0000
(14:21 +0000)
semantics of take, drop and splitAt have changed
ghc/tests/lib/should_run/list001.stdout
patch
|
blob
|
history
diff --git
a/ghc/tests/lib/should_run/list001.stdout
b/ghc/tests/lib/should_run/list001.stdout
index
8dcc8c3
..
123a591
100644
(file)
--- a/
ghc/tests/lib/should_run/list001.stdout
+++ b/
ghc/tests/lib/should_run/list001.stdout
@@
-21,12
+21,12
@@
foldr1 []
scanr1 []
[1,2,3,4,1,2,3,4,1,2]
(["x","x","x","x"],[],[1,2,3,4])
-take (-1)
+[]
[["abc","abc"],[],["","",""]]
[[6,7,8,9,10],[1,2,3,4,5,6,7,8,9,10],[]]
-drop (-1)
+[]
[([1,2,3,4,5],[6,7,8,9,10]),([1,2,3,4],[])]
-splitAt (-1)
+([],[1,2,3,4,5,6,7,8,9,10])
([1,2,3,4],[5,6,7,8,9,10])
([],[1,2,3,4,5,6,7,8,9,10])
[[10,9,8,7,6,5,4,3,2,1],[]]