Mercurial > hg > Papers > 2018 > nozomi-master
annotate paper/src/AgdaStackDS.agda @ 116:ed6719c301fc
Update slide
author | atton <atton@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 13 Feb 2017 17:31:45 +0900 |
parents | c0693ad89f04 |
children |
rev | line source |
---|---|
65 | 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 |