File: length.v

package info (click to toggle)
coq-stdpp 1.11.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,696 kB
  • sloc: makefile: 52; sh: 35; sed: 1
file content (36 lines) | stat: -rw-r--r-- 653 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
From stdpp Require prelude strings list.

(** Check that we always get the [length] function on lists, not on strings. *)
Module test1.
  Import stdpp.base.
  Check length.
  Import stdpp.strings.
  Check length.
  Import stdpp.base.
  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.