annotate paper/src/AgdaStackDS.agda @ 14:a63df15c9afc default tip

DONE
author soto <soto@cr.ie.u-ryukyu.ac.jp>
date Mon, 15 Feb 2021 23:36:39 +0900
parents 959f4b34d6f4
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
959f4b34d6f4 add final thesis
soto
parents:
diff changeset
1 record Context : Set where
959f4b34d6f4 add final thesis
soto
parents:
diff changeset
2 field
959f4b34d6f4 add final thesis
soto
parents:
diff changeset
3 -- fields for stack
959f4b34d6f4 add final thesis
soto
parents:
diff changeset
4 element : Maybe A
959f4b34d6f4 add final thesis
soto
parents:
diff changeset
5
959f4b34d6f4 add final thesis
soto
parents:
diff changeset
6
959f4b34d6f4 add final thesis
soto
parents:
diff changeset
7 open import subtype Context as N
959f4b34d6f4 add final thesis
soto
parents:
diff changeset
8
959f4b34d6f4 add final thesis
soto
parents:
diff changeset
9 record Meta : Set₁ where
959f4b34d6f4 add final thesis
soto
parents:
diff changeset
10 field
959f4b34d6f4 add final thesis
soto
parents:
diff changeset
11 -- context as set of data segments
959f4b34d6f4 add final thesis
soto
parents:
diff changeset
12 context : Context
959f4b34d6f4 add final thesis
soto
parents:
diff changeset
13 stack : SingleLinkedStack A
959f4b34d6f4 add final thesis
soto
parents:
diff changeset
14 nextCS : N.CodeSegment Context Context
959f4b34d6f4 add final thesis
soto
parents:
diff changeset
15
959f4b34d6f4 add final thesis
soto
parents:
diff changeset
16 open import subtype Meta as M
959f4b34d6f4 add final thesis
soto
parents:
diff changeset
17