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
125
Issues
125
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
bbcaf1ba
Commit
bbcaf1ba
authored
Apr 23, 2010
by
Francois Bobot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffalse ttrue in util.ml
parent
66cfe43d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
3 deletions
+10
-3
src/transform/inlining.ml
src/transform/inlining.ml
+1
-3
src/util/util.ml
src/util/util.ml
+4
-0
src/util/util.mli
src/util/util.mli
+5
-0
No files found.
src/transform/inlining.ml
View file @
bbcaf1ba
...
...
@@ -17,14 +17,12 @@
(* *)
(**************************************************************************)
open
Util
open
Ident
open
Term
open
Decl
open
Task
let
ttrue
_
=
true
let
ffalse
_
=
false
type
env
=
{
fs
:
(
vsymbol
list
*
term
)
Mls
.
t
;
ps
:
(
vsymbol
list
*
fmla
)
Mls
.
t
}
...
...
src/util/util.ml
View file @
bbcaf1ba
...
...
@@ -58,6 +58,10 @@ exception FoldSkip
let
all_fn
pr
_
t
=
pr
t
||
raise
FoldSkip
let
any_fn
pr
_
t
=
pr
t
&&
raise
FoldSkip
(* constant boolean function *)
let
ttrue
_
=
true
let
ffalse
_
=
false
(* Set and Map on strings *)
module
Sstr
=
Set
.
Make
(
String
)
...
...
src/util/util.mli
View file @
bbcaf1ba
...
...
@@ -47,6 +47,11 @@ exception FoldSkip
val
all_fn
:
(
'
a
->
bool
)
->
'
b
->
'
a
->
bool
val
any_fn
:
(
'
a
->
bool
)
->
'
b
->
'
a
->
bool
val
ffalse
:
'
a
->
bool
(** [ffalse] constant function [false] *)
val
ttrue
:
'
a
->
bool
(** [ttrue] constant function [true] *)
(* Set and Map on strings *)
module
Sstr
:
Set
.
S
with
type
elt
=
string
...
...
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