X-Git-Url: http://lambda.jimpryor.net/git/gitweb.cgi?p=lambda.git;a=blobdiff_plain;f=from_list_zippers_to_continuations.mdwn;h=dcd11cec2181b4b98f37477e0fbd693ba889a7fa;hp=713fe3526da0c6a3654cdafd4532f35fcc92953b;hb=3a24f457b5d8dfe280e95913d3b13d65f31b6fe8;hpb=b7aef174959119fd62706cd966ca74859bbdf292 diff --git a/from_list_zippers_to_continuations.mdwn b/from_list_zippers_to_continuations.mdwn index 713fe352..dcd11cec 100644 --- a/from_list_zippers_to_continuations.mdwn +++ b/from_list_zippers_to_continuations.mdwn @@ -6,9 +6,9 @@ to continuations is to re-functionalize a zipper. Then the concreteness and understandability of the zipper provides a way of understanding an equivalent treatment using continuations. -Let's work with lists of `char`s for a change. To maximize readability, we'll -indulge in an abbreviatory convention that "abSd" abbreviates the -list `['a'; 'b'; 'S'; 'd']`. +Let's work with lists of `char`s for a change. We'll sometimes write +"abSd" as an abbreviation for +`['a'; 'b'; 'S'; 'd']`. We will set out to compute a deceptively simple-seeming **task: given a string, replace each occurrence of 'S' in that string with a copy of