view paper/src/MetaDataSegment.agda.replaced @ 11:831316a767e8

add hoare figure
author ryokka
date Mon, 10 Feb 2020 14:20:21 +0900
parents c7acb9211784
children
line wrap: on
line source

module subtype {l : Level} (Context : Set l) where

record DataSegment {ll : Level} (A : Set ll) : Set (l @$\sqcup$@ ll) where
  field
    get : Context @$\rightarrow$@ A
    set : Context @$\rightarrow$@ A @$\rightarrow$@ Context