Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
POTTIER Francois
menhir
Commits
bb07fa6a
Commit
bb07fa6a
authored
Sep 12, 2019
by
POTTIER Francois
Browse files
Replace one instance of [Misc.ListExtras.equal] with its definition.
parent
b0019639
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/SelectiveExpansion.ml
View file @
bb07fa6a
...
...
@@ -51,7 +51,7 @@ module Label = struct
type
t
=
label
let
equal
(
nt1
,
inst1
)
(
nt2
,
inst2
)
=
nt1
=
nt2
&&
Misc
.
ListExtras
.
equal
(
Option
.
equal
Parameters
.
equal
)
inst1
inst2
List
.
for_all2
(
Option
.
equal
Parameters
.
equal
)
inst1
inst2
let
hash
(
nt
,
inst
)
=
Hashtbl
.
hash
(
nt
,
Misc
.
ListExtras
.
hash
(
Option
.
hash
Parameters
.
hash
)
inst
)
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