Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
visitors
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
POTTIER Francois
visitors
Commits
a321c55e
Commit
a321c55e
authored
Mar 02, 2017
by
POTTIER Francois
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
TODO.
parent
a607ad3a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
TODO
TODO
+6
-6
No files found.
TODO
View file @
a321c55e
...
...
@@ -9,10 +9,16 @@ Investigate a way of generating (most of) the code in VisitorsRuntime.
Implement mapreduce(2) in VisitorsRuntime.
Finish and document the implementation of [polymorphic].
------------------------------------------------------------------------------
TODO (PERHAPS)
Think about enabling [polymorphic] and [fold] together.
That would require letting the user specify the result type
associated with each type constructor.
Implement and document endoreduce?
Share code by using "Map endo" internally where endo : bool.
...
...
@@ -39,12 +45,6 @@ This could be used to define visit_hash_consed once and for all,
in a clean way, as a base class that could be inherited,
taking the memoization table as an argument.
If [iter] and [reduce] inherited from [fold],
with implementations of the [build_] methods,
then it would be possible to override one of these methods
to obtain custom behavior.
Unfortunately, in the case of [map], this seems impossible.
In [fold],
the build_ methods could take not only the results of the recursive calls,
but also their arguments (for added expressive power).
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment