Mercurial > hg > Papers > 2021 > soto-thesis
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 |
rev | line source |
---|---|
3 | 1 record Context : Set where |
2 field | |
3 -- fields for stack | |
4 element : Maybe A | |
5 | |
6 | |
7 open import subtype Context as N | |
8 | |
9 record Meta : Set₁ where | |
10 field | |
11 -- context as set of data segments | |
12 context : Context | |
13 stack : SingleLinkedStack A | |
14 nextCS : N.CodeSegment Context Context | |
15 | |
16 open import subtype Meta as M | |
17 |