diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-08-03 10:09:59 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-08-03 10:39:18 -0700 |
commit | 5d2937612a8c034cc2c94bdd69be65e5d87fa73c (patch) | |
tree | 9339d5d8c657d8ecdebb6cc3999803871b65e47d /060string.mu | |
parent | 4fe9f5e8257770a6b1de1aa94748609acd37f0f6 (diff) | |
download | mu-5d2937612a8c034cc2c94bdd69be65e5d87fa73c.tar.gz |
1926
http://250bpm.com/blog:57 Funnily, the new idea I finally came up with in 'read' was already mirrored above in recipe 'write'.
Diffstat (limited to '060string.mu')
-rw-r--r-- | 060string.mu | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/060string.mu b/060string.mu index a212b75b..e6cd72f5 100644 --- a/060string.mu +++ b/060string.mu @@ -621,7 +621,7 @@ recipe trim [ # result = new character[end+1 - start] new-len:number <- subtract end, start, -1 result:address:array:character <- new character:type, new-len - # i = start, j = 0 + # copy the untrimmed parts between start and end i:number <- copy start j:number <- copy 0 { |