Skip to content
Snippets Groups Projects
Commit 6c604e56 authored by Robbert Krebbers's avatar Robbert Krebbers
Browse files

More testing.

parent dc849367
No related branches found
No related tags found
2 merge requests!144Another try at removing strings.length,!129Fix `Export` order for `length`. Remove `length` hack in strings.
Pipeline #26402 passed
...@@ -10,3 +10,35 @@ length ...@@ -10,3 +10,35 @@ length
: list ?A → nat : list ?A → nat
where where
?A : [ |- Type] ?A : [ |- Type]
length
: list ?A → nat
where
?A : [ |- Type]
length
: list ?A → nat
where
?A : [ |- Type]
length
: list ?A → nat
where
?A : [ |- Type]
length
: list ?A → nat
where
?A : [ |- Type]
length
: list ?A → nat
where
?A : [ |- Type]
length
: list ?A → nat
where
?A : [ |- Type]
length
: list ?A → nat
where
?A : [ |- Type]
length
: list ?A → nat
where
?A : [ |- Type]
From stdpp Require prelude strings list.
(** Check that we always get the [length] function on lists, not on strings. *) (** Check that we always get the [length] function on lists, not on strings. *)
From stdpp Require Import prelude. Module test1.
Check length. Import stdpp.base.
From stdpp Require Import strings. Check length.
Check length. Import stdpp.strings.
From stdpp Require Import prelude. Check length.
Check length. Import stdpp.base.
\ No newline at end of file Check length.
End test1.
Module test2.
Import stdpp.prelude.
Check length.
Import stdpp.strings.
Check length.
Import stdpp.prelude.
Check length.
End test2.
Module test3.
Import stdpp.strings.
Check length.
Import stdpp.prelude.
Check length.
End test3.
Module test4.
Import stdpp.list.
Check length.
Import stdpp.strings.
Check length.
Import stdpp.list.
Check length.
End test4.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment