-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3012f3b
commit 77ea101
Showing
5 changed files
with
44 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,8 @@ | ||
TO DO list for Express | ||
====================== | ||
|
||
* Investigate the list pretty-printing bug described below. | ||
|
||
* Improve pretty-printing (see TODO items in `test/show.hs`) | ||
|
||
* use `enumFromTo` in `u-conjure.hs`? | ||
|
||
* Release new version | ||
|
||
|
||
## List pretty-printing bug | ||
|
||
> xx -:- yy -:- nil -++- yy -:- nil | ||
[x,y,] ++ [y] :: [Int] | ||
|
||
> xx -:- (yy -:- (nil -++- (yy -:- nil))) | ||
[x,y,] ++ [y] :: [Int] | ||
|
||
There's a dangling comma. This ought to be displayed as: | ||
|
||
x:y:([] ++ [y]) | ||
|
||
The second argument of `++` does not really matter to expose the bug: | ||
|
||
> xx -:- yy -:- nil -++- is_ | ||
[x,y,] ++ _ :: [Int] | ||
|
||
A couple commented-out tests have been added to `test/show.hs`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters