Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cduce
cduce
Commits
c01aa954
Commit
c01aa954
authored
Jul 10, 2007
by
Pietro Abate
Browse files
[r2003-03-15 11:12:38 by cvscast] map pour les chars et les atoms
Original author: cvscast Date: 2003-03-15 11:12:38+00:00
parent
d74a85a5
Changes
2
Hide whitespace changes
Inline
Side-by-side
types/atoms.ml
View file @
c01aa954
...
...
@@ -92,7 +92,10 @@ let equal t1 t2 = match (t1,t2) with
(* TODO: optimize map lookup *)
(* Optimize lookup:
- decision tree
- merge adjacent segment with same result
*)
type
'
a
map
=
(
v
*
'
a
)
list
*
'
a
option
let
mk_map
l
=
...
...
types/chars.ml
View file @
c01aa954
...
...
@@ -100,6 +100,10 @@ let print =
)
type
'
a
map
=
(
int
*
'
a
)
list
(* Optimize lookup:
- decision tree
- merge adjacent segment with same result
*)
let
mk_map
l
=
let
m
=
...
...
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