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
119
Issues
119
List
Boards
Labels
Service Desk
Milestones
Merge Requests
16
Merge Requests
16
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
616056f7
Commit
616056f7
authored
Mar 21, 2013
by
Andrei Paskevich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix hashtbl_impl session
parent
2e14ec07
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
105 additions
and
125 deletions
+105
-125
examples/hashtbl_impl.mlw
examples/hashtbl_impl.mlw
+2
-11
examples/hashtbl_impl/why3session.xml
examples/hashtbl_impl/why3session.xml
+103
-114
No files found.
examples/hashtbl_impl.mlw
View file @
616056f7
...
...
@@ -147,19 +147,10 @@ module HashtblImpl
h.size <- h.size + 1;
h.view <- Map.set h.view k (Some v)
end
module Bad
use import HashtblImpl
use import list.List
use import array.Array
(*
let
bad (h: t 'a
) : unit =
let
alias (h: t int) (k: key
) : unit =
let old_data = h.data in
resize h
;
add h k 42
;
old_data[0] <- Nil
*)
end
examples/hashtbl_impl/why3session.xml
View file @
616056f7
This diff is collapsed.
Click to expand it.
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