diff options
author | Eduardo Julian | 2015-05-10 15:04:36 -0400 |
---|---|---|
committer | Eduardo Julian | 2015-05-10 15:04:36 -0400 |
commit | 8dc736e2a383fe964d63dda6b885d41cabc6261c (patch) | |
tree | 8e4d9ddf503bbcd53023073dd8cfa4e824b85ab2 /src/lux/reader.clj | |
parent | ab7b946a980475cad1e58186ac8c929c7659f529 (diff) |
- Switched to the new prefix convention for both lux's special forms and the host's.
- Made a few optimizations to speed-up the now slowed-down compiler.
Diffstat (limited to '')
-rw-r--r-- | src/lux/reader.clj | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lux/reader.clj b/src/lux/reader.clj index 6a954d5ff..69c95ea6a 100644 --- a/src/lux/reader.clj +++ b/src/lux/reader.clj @@ -27,12 +27,12 @@ ))) ;; [Exports] -(defn ^:private re-find! [regex line] +(defn ^:private re-find! [^java.util.regex.Pattern regex line] (let [matcher (.matcher regex line)] (when (.find matcher) (.group matcher 0)))) -(defn ^:private re-find3! [regex line] +(defn ^:private re-find3! [^java.util.regex.Pattern regex line] (let [matcher (.matcher regex line)] (when (.find matcher) (list (.group matcher 0) |