on master help sign in
Update caesar.md
commit2f047b4fb0c4284f8e8420309fb64f87536e3066 authorrmariani <robert@tlon.io> dateThu 12 Dec 2019, 15:39 (7 years ago) parent55da472
1 file changed+4−2
tutorials/hoon/caesar.md+4−2
tutorials/hoon/caesar.md+4−2
@@ -116,8 +116,7 @@ itself before reading the explanation.
116116```hoon
117117!:
118118|= [msg=tape key=@ud]
119−=+ ^= caesar
120− |%
119+=<
121120```
122121
123122The `!:` in the first line of the above code enables a full stack trace in the
@@ -139,6 +138,7 @@ allows us reference the core's contained arms before they are defined. Without
139138=. msg (cass msg)
140139:- (shift msg key)
141140(unshift msg key)
141+|%
142142```
143143
144144`=. msg (cass msg)` changes the input string `msg` to lowercases. `=.` changes
@@ -150,6 +150,8 @@ gate that converts uppercase letters to lowercase.
150150cell of a right-shifted cipher and a left-shifted cell. This is the final output
151151of our generator.
152152
153+`|%` creates a core.
154+
153155```hoon
154156 ++ rott
155157 |= [m=tape n=@ud]