view src/AgdaStackDS.agda @ 2:0d85c5be9fb6

fix miss
author soto@cr.ie.u-ryukyu.ac.jp
date Tue, 08 Sep 2020 18:43:57 +0900
parents 73127e0ab57c
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