Programming Clojure with Clojure 1.2.0 snapshot

This post contains a list of changes between Clojure 1.1.0 and 1.2.0 that would affect you if you’re reading Stuart Halloway’s “Programming Clojure”.

It looks like you’d have to replace,

(use ‘)
(filter indexable-word? (re-split #”\W+” “A fine day it is”))

with

(use ‘\) (filter indexable-word? (split #”\\W+” “A fine day it is”))

–> (“fine” “day”)

since the str-utils module got renamed to string, and the re-split function to split.

--

If you have any questions or thoughts, don't hesitate to reach out. You can find me as @viksit on Twitter.