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
why3
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
124
Issues
124
List
Boards
Labels
Service Desk
Milestones
Merge Requests
15
Merge Requests
15
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
Why3
why3
Commits
8e74b20e
Commit
8e74b20e
authored
May 04, 2020
by
Guillaume Melquiond
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove redundant definitions.
parent
5e095316
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
11 deletions
+0
-11
src/trywhy3/trywhy3.ml
src/trywhy3/trywhy3.ml
+0
-11
No files found.
src/trywhy3/trywhy3.ml
View file @
8e74b20e
...
...
@@ -22,17 +22,6 @@ module Worker = Js_of_ocaml.Worker
module
Dom_html
=
Js_of_ocaml
.
Dom_html
module
XmlHttpRequest
=
Js_of_ocaml
.
XmlHttpRequest
let
get_opt
o
=
Js
.
Opt
.
get
o
(
fun
()
->
assert
false
)
let
check_def
s
o
=
Js
.
Optdef
.
get
o
(
fun
()
->
log
(
"Object "
^
s
^
" is undefined or null"
);
assert
false
)
let
get_global
ident
=
let
res
:
'
a
Js
.
optdef
=
JSU
.(
get
global
)
(
Js
.
string
ident
)
in
check_def
ident
res
let
int_of_js_string
s
=
int_of_string
(
Js
.
to_string
s
)
let
blob_url_of_string
s
=
...
...
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