annotate paper/src/PushPopType.agda.replaced @ 2:c7acb9211784
add code, figure. and paper fix content
author |
ryokka |
date |
Mon, 27 Jan 2020 20:41:36 +0900 |
parents |
|
children |
196ba119ca89 |
rev |
line source |
2
|
1 pushOnce : Meta @$\rightarrow$@ Meta
|
|
2 pushOnce m = M.exec pushSingleLinkedStackCS m
|
|
3
|
|
4 popOnce : Meta @$\rightarrow$@ Meta
|
|
5 popOnce m = M.exec popSingleLinkedStackCS m
|
|
6
|
|
7 push-pop-type : Meta @$\rightarrow$@ Set@$\text{1}$@
|
|
8 push-pop-type meta =
|
|
9 M.exec (M.csComp (M.cs popOnce) (M.cs pushOnce)) meta @$\equiv$@ meta
|