8985aa307b9a

Error in variable name
[view raw] [browse files]
author Eduardo Lopez Biagi <eduardo.biagi@gmail.com>
date Sun, 22 Jul 2012 22:45:49 -0500
parents af73cbade918
children 8b4e68184795
branches/tags (none)
files chapters/39.markdown

Changes

--- a/chapters/39.markdown	Sat Jul 21 18:12:02 2012 -0500
+++ b/chapters/39.markdown	Sun Jul 22 22:45:49 2012 -0500
@@ -62,7 +62,7 @@
 
     function! Assoc(l, i, val)
         let new_list = deepcopy(a:l)
-        let newlist[a:i] = a:val
+        let new_list[a:i] = a:val
         return new_list
     endfunction