diff options
author | Xavier Leroy <xavierleroy@users.noreply.github.com> | 2021-09-15 14:00:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-15 14:00:41 +0200 |
commit | c9fad7cd7bdc4e79fb06a1d39abfa0d5471623e5 (patch) | |
tree | 300c838636f84ef8cc57faa86eca9440e9171c69 /lib/Iteration.v | |
parent | 8eaff6bf3933f2213ae85584009e05123c40fa65 (diff) | |
download | compcert-c9fad7cd7bdc4e79fb06a1d39abfa0d5471623e5.tar.gz compcert-c9fad7cd7bdc4e79fb06a1d39abfa0d5471623e5.zip |
Avoid `Global Set Asymmetric Patterns` (#408)
Instead, add `Set Asymmetric Patterns` to the files that need it,
or use `Arguments` to make inductive types work better with symmetric patterns.
Closes: #403
Diffstat (limited to 'lib/Iteration.v')
-rw-r--r-- | lib/Iteration.v | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Iteration.v b/lib/Iteration.v index 82110bff..66bb3970 100644 --- a/lib/Iteration.v +++ b/lib/Iteration.v @@ -20,6 +20,8 @@ Require Import Axioms. Require Import Coqlib. Require Import Wfsimpl. +Set Asymmetric Patterns. + (** This modules defines several Coq encodings of a general "while" loop. The loop is presented in functional style as the iteration of a [step] function of type [A -> B + A]: |