view src/AgdaStackDS.agda @ 4:35f0e5f12fe6

add verification method
author soto@cr.ie.u-ryukyu.ac.jp
date Fri, 11 Sep 2020 02:30:15 +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