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

Use `Check` instead of `About` to hopefully have stable test output among Coq versions.

parent 7d981af6
No related branches found
No related tags found
No related merge requests found
length : ∀ A : Type, list A → nat length
: list ?A → nat
length is not universe polymorphic where
Arguments length {A}%type_scope _%list_scope ?A : [ |- Type]
length is transparent length
Expands to: Constant Coq.Init.Datatypes.length : list ?A → nat
length : ∀ A : Type, list A → nat where
?A : [ |- Type]
length is not universe polymorphic length
Arguments length {A}%type_scope _%list_scope : list ?A → nat
length is transparent where
Expands to: Constant Coq.Init.Datatypes.length ?A : [ |- Type]
length : ∀ A : Type, list A → nat
length is not universe polymorphic
Arguments length {A}%type_scope _%list_scope
length is transparent
Expands to: Constant Coq.Init.Datatypes.length
(** 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. From stdpp Require Import prelude.
About length. Check length.
From stdpp Require Import strings. From stdpp Require Import strings.
About length. Check length.
From stdpp Require Import prelude. From stdpp Require Import prelude.
About length. Check length.
\ No newline at end of file \ No newline at end of file
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