Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Concrete memory and unsafe operations fixes #325

Merged
merged 8 commits into from
Oct 27, 2024

Conversation

MchKosticyn
Copy link
Member

No description provided.

list {
let! g, accLbs, accUbs = acc
let! gl, l = Merging.unguardGvs lb
let! gu, u = Merging.unguardGvs ub
return (g &&& gl &&& gu, l::accLbs, u::accUbs)
})
}
let boundsPairs = List.foldBack2 unGuard lowerBounds upperBounds [True(), [], []]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

List.empty для единообразия?

@@ -420,7 +427,7 @@ type stackBufferIndexKey =
override x.Map mapTerm _ _ reg =
reg, {index = mapTerm x.index}
override x.IsUnion =
match x.index.term with
match x.index.term with // TODO: #Roma
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

вроде эту странную реализацию удалить хотели вообще...

@@ -631,14 +638,13 @@ module private UpdateTree =
PersistentDict.append modifiedTree disjoint |> Node
List.foldBack writeOneKey disjointUnguardedKey tree


let map (mapKey : 'reg -> 'key -> 'reg * 'key) mapValue (tree : updateTree<'key, 'value, 'reg>) predicate =
let map (mapKey : 'reg -> 'key -> 'reg * 'key) mapValue (tree : updateTree<'key, term, 'reg>) predicate =
let mapper reg {key=k; value=v; guard = g; time = t} =
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

пробелы тоже

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Какие?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
let mapper reg {key=k; value=v; guard = g; time = t} =
let mapper reg {key = k; value = v; guard = g; time = t} =

@MchKosticyn MchKosticyn merged commit fa3fed0 into VSharp-team:master Oct 27, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants