Permalink
Browse files

* README.md: MATCH-28: clojure.core.match ns instead of clojure.core.…

…match.core
  • Loading branch information...
1 parent 1d0d9a5 commit af647a77415f5a8c8cc3d1222873b55f91241dde @swannodette swannodette committed Oct 11, 2011
View
@@ -15,7 +15,7 @@ The fastest way to use this library is with Leiningen or Cake. Add the following
Use via:
```clojure
-(use '[clojure.core.match.core :only [match]])
+(use '[clojure.core.match :only [match]])
```
ClojureScript
@@ -281,7 +281,7 @@ For example, this syntax is illegal:
Matching single variables
---
-`clojure.core.match.core/match-1` is sugar over `match` that allows pattern matching over a single variable, without
+`clojure.core.match/match-1` is sugar over `match` that allows pattern matching over a single variable, without
an "extra" pair of `[]` around the occurrences and each pattern row.
```clojure
@@ -1,11 +1,11 @@
(ns clojure.core.match.array
(:refer-clojure :exclude [compile])
- (:use [clojure.core.match.core :as m]))
+ (:use [clojure.core.match :as m]))
;; =============================================================================
;; Shared
-(derive ::array ::clojure.core.match.core/vector)
+(derive ::array ::clojure.core.match/vector)
(defmethod nth-inline ::array
[t ocr i]
`(aget ~ocr ~i))
@@ -1,8 +1,8 @@
(ns clojure.core.match.bits
(:refer-clojure :exclude [compile])
- (:use [clojure.core.match.core :as m]))
+ (:use [clojure.core.match :as m]))
-(derive ::bits ::clojure.core.match.core/vector)
+(derive ::bits ::clojure.core.match/vector)
(defmethod check-size? ::bits
[_] false)
Oops, something went wrong.

0 comments on commit af647a7

Please sign in to comment.