view src/Exec.agda @ 1:73127e0ab57c

(none)
author soto@cr.ie.u-ryukyu.ac.jp
date Tue, 08 Sep 2020 18:38:08 +0900
parents
children
line wrap: on
line source

exec : {l1 l2 : Level} {I : Set l1} {O : Set l2}
       {{_ : DataSegment I}} {{_ : DataSegment O}}
       -> CodeSegment I O -> Context -> Context
exec {l} {{i}} {{o}}  (cs b) c = set o c (b (get i c))