Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
jsexplain
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
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
Verified Software
jsexplain
Commits
1b830fbd
Commit
1b830fbd
authored
8 years ago
by
charguer
Committed by
Thomas Wood
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
bugfix
parent
2c67c24b
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
generator/js_of_ast.ml
+2
-1
2 additions, 1 deletion
generator/js_of_ast.ml
with
2 additions
and
1 deletion
generator/js_of_ast.ml
+
2
−
1
View file @
1b830fbd
...
...
@@ -154,8 +154,9 @@ let ppf_apply f args =
f
args
let
ppf_apply_infix
f
arg1
arg2
=
Printf
.
sprintf
"@[<hov 0>%s@ %s %s@]"
Printf
.
sprintf
"@[<hov 0>
(
%s@ %s %s
)
@]"
arg1
f
arg2
(* todo: only put parentheses if needed *)
let
ppf_match_case
c
=
Printf
.
sprintf
"case %s"
c
...
...
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