Skip to Content.
Sympa Menu

coq-club - [Coq-Club] Purpose of [Inline]?

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] Purpose of [Inline]?


Chronological Thread 
  • From: Jason Gross <jasongross9 AT gmail.com>
  • To: coq-club <coq-club AT inria.fr>
  • Subject: [Coq-Club] Purpose of [Inline]?
  • Date: Fri, 17 Oct 2014 22:49:31 -0400

Hi,
When reading the reference manual, I discovered a line [Parameter Inline(10) t : Type.] in http://coq.inria.fr/library/Coq.Structures.Equalities.html#.  I found the section on [Inline] to be incomprehensible; it says
 
     3. assumption_keyword Inline assums

The instance of this assumption will be automatically expanded at functor application, except when this functor application is prefixed by a ! annotation.

What is the purpose of [Inline], what's an example where it matters, and what does the "(10)" do?

Thanks,
Jason
 


  • [Coq-Club] Purpose of [Inline]?, Jason Gross, 10/18/2014

Archive powered by MHonArc 2.6.18.

Top of Page