Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
C
cpdt
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
research
cpdt
Commits
f6842c36
Commit
f6842c36
authored
Jun 13, 2012
by
Adam Chlipala
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Manual font choice for notation scope delimiters
parent
13ab8570
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
MoreDep.v
src/MoreDep.v
+1
-1
No files found.
src/MoreDep.v
View file @
f6842c36
...
@@ -215,7 +215,7 @@ Fixpoint typeDenote (t : type) : Set :=
...
@@ -215,7 +215,7 @@ Fixpoint typeDenote (t : type) : Set :=
|
Prod
t1
t2
=>
typeDenote
t1
*
typeDenote
t2
|
Prod
t1
t2
=>
typeDenote
t1
*
typeDenote
t2
end
%
type
.
end
%
type
.
(
**
The
[
typeDenote
]
function
compiles
types
of
our
object
language
into
%
``
%
#
"#native#"
#
%
''
%
Coq
types
.
It
is
deceptively
easy
to
implement
.
The
only
new
thing
we
see
is
the
[
%
]
[
type
]
annotation
,
which
tells
Coq
to
parse
the
[
match
]
expression
using
the
notations
associated
with
types
.
Without
this
annotation
,
the
[
*
]
would
be
interpreted
as
multiplication
on
naturals
,
rather
than
as
the
product
type
constructor
.
The
token
[
type
]
is
one
example
of
an
identifer
bound
to
a
_
notation
scope
_
.
In
this
book
,
we
will
not
go
into
more
detail
on
notation
scopes
,
but
the
Coq
manual
can
be
consulted
for
more
information
.
(
**
The
[
typeDenote
]
function
compiles
types
of
our
object
language
into
%
``
%
#
"#native#"
#
%
''
%
Coq
types
.
It
is
deceptively
easy
to
implement
.
The
only
new
thing
we
see
is
the
[
%
]
%
\
coqdocvar
{%
#
<
tt
>
#
type
#
</
tt
>
#
%}%
annotation
,
which
tells
Coq
to
parse
the
[
match
]
expression
using
the
notations
associated
with
types
.
Without
this
annotation
,
the
[
*
]
would
be
interpreted
as
multiplication
on
naturals
,
rather
than
as
the
product
type
constructor
.
The
token
%
\
coqdocvar
{%
#
<
tt
>
#
type
#
</
tt
>
#
%}%
is
one
example
of
an
identifer
bound
to
a
%
\
index
{
notation
scope
delimiter
}%
_
notation
scope
delimiter
_
.
In
this
book
,
we
will
not
go
into
more
detail
on
notation
scopes
,
but
the
Coq
manual
can
be
consulted
for
more
information
.
We
can
define
a
function
[
expDenote
]
that
is
typed
in
terms
of
[
typeDenote
]
.
*
)
We
can
define
a
function
[
expDenote
]
that
is
typed
in
terms
of
[
typeDenote
]
.
*
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment