coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Hugo Herbelin <Hugo.Herbelin AT inria.fr>
- To: Ralf Jung <jung AT mpi-sws.org>
- Cc: coq-club AT inria.fr, Matej Košík <mail AT matej-kosik.net>
- Subject: Re: [Coq-Club] what does "Bound to class nat" mean?
- Date: Wed, 15 Nov 2017 12:01:26 +0100
Hi,
> > Everything is clear, except for:
> >
> > Bound to class nat
> >
> > clause. What does that mean? Does anybody know? What si "nat class"?
>
> I assume this is the result of a `Bind Scope nat_scope with nat`, which
> essentially means that nat_scope is used automatically for parsing
> arguments of a function of type nat -> ....
>
> Why this is called a "class", I have no idea.
It is called class in the sense of coercion classes, as described in
Sections 2.8 and 18.2 of the reference manual. This e.g. includes
FunClass bound to function_scope and SortClass bound to type_scope.
Note that this has nothing to do with "type classes". A clarification
of the terminology would probably be useful to prevent the confusion
(I opened issue #6159 for that purpose).
Best,
Hugo
- [Coq-Club] what does "Bound to class nat" mean?, Matej Košík, 11/12/2017
- Re: [Coq-Club] what does "Bound to class nat" mean?, Ralf Jung, 11/12/2017
- Re: [Coq-Club] what does "Bound to class nat" mean?, Hugo Herbelin, 11/15/2017
- Re: [Coq-Club] what does "Bound to class nat" mean?, Ralf Jung, 11/12/2017
Archive powered by MHonArc 2.6.18.