2016-12-23 06:05:23 +03:00
|
|
|
# Todo
|
2016-11-02 03:58:37 +03:00
|
|
|
|
2016-12-23 06:05:23 +03:00
|
|
|
## Todo Now
|
2016-12-26 04:08:11 +03:00
|
|
|
* Don't allow guards to embed patterns. This is only happening because @ values come from the PApp, not the actual source.
|
2016-12-25 01:46:53 +03:00
|
|
|
|
2016-12-23 06:05:23 +03:00
|
|
|
* Consider adding binding variable names to the lambda icon and match icon. Don't display the name if it is only one character.
|
2016-11-02 03:58:37 +03:00
|
|
|
|
2016-12-23 06:05:23 +03:00
|
|
|
## Todo Later
|
|
|
|
* Add documentation.
|
2016-11-28 01:41:07 +03:00
|
|
|
|
2016-12-23 06:05:23 +03:00
|
|
|
### Testing todos
|
|
|
|
* Fix the arrowheads being too big for SyntaxGraph drawings.
|
2016-12-19 08:15:59 +03:00
|
|
|
|
2016-12-23 06:05:23 +03:00
|
|
|
### Visual todos
|
|
|
|
* Draw bounding boxes for lambdas (use dashed lines)
|
2016-11-02 03:58:37 +03:00
|
|
|
|
2016-12-23 06:05:23 +03:00
|
|
|
* Make an icon font/library with labeled ports. E.g. the apply icon would have text labels "function", "result", "arg 0", "arg 1", etc.
|
2016-12-12 09:19:23 +03:00
|
|
|
|
2016-12-23 06:05:23 +03:00
|
|
|
* Don't rotate text and nested icons, give them rectangular bounding boxes in GraphViz. (Perhaps use a typeclass for isRotateAble)
|
|
|
|
|
|
|
|
* Give lines a black border to make line crossings easier to see.
|
|
|
|
|
|
|
|
* Let lines connect to ports other than the original source
|
|
|
|
|
|
|
|
* Use different line styles (e.g. dashed, solid, wavy) in addition to colors
|
|
|
|
|
|
|
|
* Use diagrams to shrink the drawing until icons start overlapping.
|
|
|
|
|
|
|
|
### Translate todos
|
|
|
|
* Allow case and guard nodes to embed simple patterns and expressions.
|
|
|
|
|
|
|
|
* Fix this test so that the line colors are correct. Consider connecting the t line to the origial rhs (3,4), not the pattern result.
|
2016-12-12 09:19:23 +03:00
|
|
|
y = let {t@(_,_) = (3,4)} in t + 3
|
|
|
|
|
2016-12-23 06:05:23 +03:00
|
|
|
* Fix applyComposeScore in Translate.hs not counting expressions that nest via reference. May need to move compose generation to after translate.
|
|
|
|
|
|
|
|
* Fix test case x of {0 -> 1; y -> y}.
|
|
|
|
|
|
|
|
* Add proper RecConstr, and RecUpdate support.
|
2016-11-28 01:41:07 +03:00
|
|
|
|
2016-12-23 06:05:23 +03:00
|
|
|
* Special case for otherwise.
|