view Paper/src/Exec.agda @ 7:6a61c1eb0205

これを提出した
author soto <soto@cr.ie.u-ryukyu.ac.jp>
date Thu, 12 May 2022 15:44:39 +0900
parents 14a0e409d574
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))