Skip to content
Snippets Groups Projects

Added strings to prelude to fix printing of strings.length

Closed Michael Sammler requested to merge msammler/strings_in_prelude into master
2 unresolved threads
1 file
+ 9
0
Compare changes
  • Side-by-side
  • Inline
+ 9
0
@@ -10,4 +10,13 @@ From stdpp Require Export
fin_sets
listset
list
(* This must be exported after base (which exports Coq.List) since
it exports the length notation to ensure that we use List.length and
not Strings.length. If we don't export strings here and some file
imports strings and then the prelude (which seems to happen with
Iris), the definition in Coq.List will shadow the notation in
stdpp.strings and length will be printed as strings.length since Coq
prefers printing the notation (strings.length) instead of the
definition which shadows it. *)
strings
lexico.
Loading