Library MetaCoq.Template.utils
This file exports utilities and notations used in MetaCoq.
If you don't want to have the following scopes opened you should not import this file or close them.From Coq Require Export Bool ZArith Arith Lia List.
From MetaCoq.Template Require Export utils.MCUtils monad_utils.
Global Set Asymmetric Patterns.
Global Open Scope bs_scope.
Global Open Scope list_scope.
With nat here, the default intepretation of =? is for nat.
Global Open Scope nat_scope.
We keep ++ for lists and use ^ for stings.
Declare Scope string_scope2.
Notation "s1 ^ s2" := (bytestring.String.append s1 s2) : string_scope2.
Open Scope string_scope2.
Notation "s1 ^ s2" := (bytestring.String.append s1 s2) : string_scope2.
Open Scope string_scope2.
We want × from type_scope but + from nat_scope. Warning: × is left associative, prefer × when chaining products so that it behaves as sigma types.