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
dep2pict
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
dep2pict
dep2pict
Commits
5806e298
Commit
5806e298
authored
Apr 24, 2019
by
Bruno Guillaume
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
json type
parent
77df8c9e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/global.ml
src/global.ml
+1
-1
src/main.ml
src/main.ml
+1
-1
No files found.
src/global.ml
View file @
5806e298
...
...
@@ -29,7 +29,7 @@ let write file string =
end
(* module File *)
exception
Error
of
Yojson
.
Basic
.
json
exception
Error
of
Yojson
.
Basic
.
t
let
error
?
file
?
line
?
fct
?
data
msg
=
let
opt_list
=
[
...
...
src/main.ml
View file @
5806e298
...
...
@@ -81,7 +81,7 @@ let rec parse_arg = function
let
json_apply
json_in
json_out
=
match
json_in
with
|
`List
l
->
let
(
new_json
:
Yojson
.
Basic
.
json
)
=
`List
(
List
.
map
(
let
(
new_json
:
Yojson
.
Basic
.
t
)
=
`List
(
List
.
map
(
function
|
`Assoc
item
->
begin
...
...
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