view paper/src/AgdaStackDS.agda @ 86:e437746d6038

Fix lstinput
author atton <atton@cr.ie.u-ryukyu.ac.jp>
date Thu, 09 Feb 2017 15:40:11 +0900
parents c0693ad89f04
children
line wrap: on
line source

record Context : Set where
  field
    -- fields for stack
    element : Maybe A


open import subtype Context as N

record Meta  : Set₁ where
  field
    -- context as set of data segments
    context : Context
    stack   : SingleLinkedStack A
    nextCS  : N.CodeSegment Context Context

open import subtype Meta as M