Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR gives a
.fst
implementation forPulse.Lib.SeqMatch.fsti
It is inspired from the existing Steel implementation (cf. https://github.com/FStarLang/steel/blob/92f1f3761373d1c4b8ee91f12bec007515dfce1d/lib/steel/Steel.ST.SeqMatch.fst ), but is tidied up to avoid resource leakage by no longer using
drop
.With this PR, the following changes in the interface have become necessary:
seq_list_match_nil_elim
is strengthened by weakening its preconditionseq_seq_match_item_match_option_upd
is split into a_none
and a_some
cases.