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
79f135de
Commit
79f135de
authored
Oct 14, 2008
by
Adam Chlipala
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify exercise wording
parent
a849d3ba
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
DataStruct.v
src/DataStruct.v
+1
-1
No files found.
src/DataStruct.v
View file @
79f135de
...
@@ -843,6 +843,6 @@ e ::= x | b | inl e | inr e | case e of [p => e]* | _ => e
...
@@ -843,6 +843,6 @@ e ::= x | b | inl e | inr e | case e of [p => e]* | _ => e
[
x
]
stands
for
a
variable
,
and
[
b
]
stands
for
a
boolean
constant
.
The
production
for
[
case
]
expressions
means
that
a
pattern
-
match
includes
zero
or
more
pairs
of
patterns
and
expressions
,
along
with
a
default
case
.
[
x
]
stands
for
a
variable
,
and
[
b
]
stands
for
a
boolean
constant
.
The
production
for
[
case
]
expressions
means
that
a
pattern
-
match
includes
zero
or
more
pairs
of
patterns
and
expressions
,
along
with
a
default
case
.
Your
interpreter
should
be
implemented
in
the
style
demonstrated
in
this
chapter
.
That
is
,
your
definition
of
expressions
should
use
dependent
types
to
combine
syntax
and
typing
rules
,
such
that
the
type
of
an
expression
tells
the
types
of
variables
that
are
in
scope
.
You
should
implement
a
simple
recursive
function
translating
types
[
t
]
to
[
Set
]
,
and
your
interpreter
should
produce
values
in
the
image
of
this
translation
.
#
</
li
>
#
Your
interpreter
should
be
implemented
in
the
style
demonstrated
in
this
chapter
.
That
is
,
your
definition
of
expressions
should
use
dependent
types
and
de
Bruijn
indices
to
combine
syntax
and
typing
rules
,
such
that
the
type
of
an
expression
tells
the
types
of
variables
that
are
in
scope
.
You
should
implement
a
simple
recursive
function
translating
types
[
t
]
to
[
Set
]
,
and
your
interpreter
should
produce
values
in
the
image
of
this
translation
.
#
</
li
>
#
#
</
ol
>
#
%
\
end
{
enumerate
}%
*
)
#
</
ol
>
#
%
\
end
{
enumerate
}%
*
)
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