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
A
alphaLib
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
POTTIER Francois
alphaLib
Commits
49f51aaa
Commit
49f51aaa
authored
Feb 09, 2017
by
POTTIER Francois
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use [unit_monoid] in [iter] and [iter2].
parent
b3f82b9e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
8 deletions
+2
-8
src/BindingForms.ml
src/BindingForms.ml
+2
-8
No files found.
src/BindingForms.ml
View file @
49f51aaa
...
...
@@ -260,12 +260,9 @@ end
(* [iter] *)
class
virtual
[
'
self
]
iter
=
object
(
_
:
'
self
)
inherit
[
'
self
]
reduce
method
private
plus
()
()
=
()
inherit
[
_
]
VisitorsRuntime
.
unit_monoid
method
private
restrict
_
()
=
()
end
(* -------------------------------------------------------------------------- *)
...
...
@@ -343,10 +340,7 @@ end
(* [iter2] *)
class
virtual
[
'
self
]
iter2
=
object
(
_
:
'
self
)
inherit
[
'
self
]
reduce2
method
private
plus
()
()
=
()
inherit
[
_
]
VisitorsRuntime
.
unit_monoid
method
private
restrict
_
_
()
=
()
end
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