annotate paper/src/AgdaTreeDebugReturnNode4.agda.replaced @ 2:c7acb9211784

add code, figure. and paper fix content
author ryokka
date Mon, 27 Jan 2020 20:41:36 +0900
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
c7acb9211784 add code, figure. and paper fix content
ryokka
parents:
diff changeset
1 test31 = putTree1 {_} {_} {@$\mathbb{N}$@} {@$\mathbb{N}$@} (createEmptyRedBlackTree@$\mathbb{N}$@ @$\mathbb{N}$@ ) 1 1
c7acb9211784 add code, figure. and paper fix content
ryokka
parents:
diff changeset
2 $ \t @$\rightarrow$@ putTree1 t 2 2
c7acb9211784 add code, figure. and paper fix content
ryokka
parents:
diff changeset
3 $ \t @$\rightarrow$@ putTree1 t 3 3
c7acb9211784 add code, figure. and paper fix content
ryokka
parents:
diff changeset
4 $ \t @$\rightarrow$@ putTree1 t 4 4
c7acb9211784 add code, figure. and paper fix content
ryokka
parents:
diff changeset
5 $ \t @$\rightarrow$@ getRedBlackTree t 4
c7acb9211784 add code, figure. and paper fix content
ryokka
parents:
diff changeset
6 $ \t x @$\rightarrow$@ x
c7acb9211784 add code, figure. and paper fix content
ryokka
parents:
diff changeset
7
c7acb9211784 add code, figure. and paper fix content
ryokka
parents:
diff changeset
8 -- C-c C-n test31 return
c7acb9211784 add code, figure. and paper fix content
ryokka
parents:
diff changeset
9 -- Just
c7acb9211784 add code, figure. and paper fix content
ryokka
parents:
diff changeset
10 -- (record
c7acb9211784 add code, figure. and paper fix content
ryokka
parents:
diff changeset
11 -- { key = 4
c7acb9211784 add code, figure. and paper fix content
ryokka
parents:
diff changeset
12 -- ; value = 4
c7acb9211784 add code, figure. and paper fix content
ryokka
parents:
diff changeset
13 -- ; right = Nothing
c7acb9211784 add code, figure. and paper fix content
ryokka
parents:
diff changeset
14 -- ; left = Nothing
c7acb9211784 add code, figure. and paper fix content
ryokka
parents:
diff changeset
15 -- ; color = Red
c7acb9211784 add code, figure. and paper fix content
ryokka
parents:
diff changeset
16 -- })