Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
LogIA
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
Show more breadcrumbs
aalbert
LogIA
Merge requests
!1
Resolve "add basic argument handling"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "add basic argument handling"
1-add-basic-argument-handling
into
main
Overview
0
Commits
2
Pipelines
0
Changes
1
Merged
aalbert
requested to merge
1-add-basic-argument-handling
into
main
2 years ago
Overview
0
Commits
2
Pipelines
0
Changes
1
Expand
Closes
#1 (closed)
👍
0
👎
0
Merge request reports
Compare
main
main (base)
and
latest version
latest version
025f13e8
2 commits,
2 years ago
1 file
+
13
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
project1/bin/main.ml
+
13
−
2
Options
open
Dolmen
module
M
=
Dimacs
.
Make
(
Std
.
Loc
)(
Std
.
Term
)(
Std
.
Statement
)
let
()
=
print_endline
"Hello, World!"
let
usage_msg
=
"project1 [--mode] ... [files]"
let
input_files
=
ref
[]
let
mode
=
ref
"xor"
let
anon_fun
filename
=
input_files
:=
filename
::
!
input_files
let
speclist
=
[(
"--mode"
,
Arg
.
Set_string
mode
,
"Set working mode (xor or horn), default to xor"
);
(
"-m"
,
Arg
.
Set_string
mode
,
"Set working mode (xor or horn), default to xor"
)]
let
()
=
Arg
.
parse
speclist
anon_fun
usage_msg
;
List
.
iter
print_endline
!
input_files
;
print_endline
!
mode
;
Loading