diff options
Diffstat (limited to 'lib/synonyms.fnl')
| -rw-r--r-- | lib/synonyms.fnl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/synonyms.fnl b/lib/synonyms.fnl index d3f314f..92530d2 100644 --- a/lib/synonyms.fnl +++ b/lib/synonyms.fnl @@ -1,6 +1,6 @@ (import-macros {: map} :lib.macro) -(local str (require :lib.string)) +(local libstr (require :lib.string)) (local array (require :lib.array)) (local {: must} (require :lib.utils)) @@ -33,7 +33,7 @@ (fn replace [line] (var results []) - (let [words (str.split line " ") + (let [words (libstr.split line " ") words-count (# words)] (for [i 1 words-count] (var word nil) |
