Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
clangml-transforms
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
GitLab upgrade completed. Current version is 17.11.3.
Show more breadcrumbs
Thierry Martinez
clangml-transforms
Commits
96ff5e7e
Commit
96ff5e7e
authored
5 years ago
by
Thierry Martinez
Browse files
Options
Downloads
Patches
Plain Diff
Update for traverse
parent
a1c17976
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#124778
failed
5 years ago
Stage: snapshot
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
clangml-transforms/dune
+1
-1
1 addition, 1 deletion
clangml-transforms/dune
clangml-transforms/for_memcad.ml
+8
-6
8 additions, 6 deletions
clangml-transforms/for_memcad.ml
dune-project
+2
-1
2 additions, 1 deletion
dune-project
with
11 additions
and
8 deletions
clangml-transforms/dune
+
1
−
1
View file @
96ff5e7e
...
@@ -3,4 +3,4 @@
...
@@ -3,4 +3,4 @@
(public_name clangml-transforms)
(public_name clangml-transforms)
(preprocess (pps refl.ppx))
(preprocess (pps refl.ppx))
(wrapped false)
(wrapped false)
(libraries clangml refl dolog))
(libraries clangml refl dolog
traverse
))
This diff is collapsed.
Click to expand it.
clangml-transforms/for_memcad.ml
+
8
−
6
View file @
96ff5e7e
...
@@ -167,14 +167,16 @@ let plus_with_warning (a : accu) (b : accu) : accu =
...
@@ -167,14 +167,16 @@ let plus_with_warning (a : accu) (b : accu) : accu =
Free_monoid
.
plus
a
b
Free_monoid
.
plus
a
b
module
Applicative
=
module
Applicative
=
Refl
.
Visit
.
EnvT
(
struct
type
t
=
env
end
)
Traverse
.
Applicative
.
Env
(
struct
type
t
=
env
end
)
(
Refl
.
Visit
.
ReduceT
(
struct
(
Traverse
.
Applicative
.
Pair
type
t
=
accu
(
Traverse
.
Applicative
.
Map
)
(
Traverse
.
Applicative
.
Reduce
(
struct
type
t
=
accu
let
zero
=
Free_monoid
.
zero
let
zero
=
Free_monoid
.
zero
let
(
+
)
=
plus_with_warning
let
(
+
)
=
plus_with_warning
end
)
(
Refl
.
Visit
.
Map
))
end
)))
module
rec
Visitor
:
Refl
.
Visit
.
VisitorS
module
rec
Visitor
:
Refl
.
Visit
.
VisitorS
with
type
'
a
Applicative
.
t
=
'
a
Applicative
.
t
=
struct
with
type
'
a
Applicative
.
t
=
'
a
Applicative
.
t
=
struct
...
...
This diff is collapsed.
Click to expand it.
dune-project
+
2
−
1
View file @
96ff5e7e
...
@@ -18,4 +18,5 @@
...
@@ -18,4 +18,5 @@
(ocaml (and (>= 4.03.0) (< 4.11.0)))
(ocaml (and (>= 4.03.0) (< 4.11.0)))
(dune (>= 2.2.0))
(dune (>= 2.2.0))
(clangml (>= 4.1.0))
(clangml (>= 4.1.0))
(dolog (>= 4.0.0))))
(dolog (>= 4.0.0))
(traverse (>= 0.1.0))))
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment