Skip to content
This repository was archived by the owner on Jan 30, 2019. It is now read-only.

respect trailing slashes#17

Open
a4180p wants to merge 2 commits into
cemerick:masterfrom
a4180p:trailing-slashes
Open

respect trailing slashes#17
a4180p wants to merge 2 commits into
cemerick:masterfrom
a4180p:trailing-slashes

Conversation

@a4180p

@a4180p a4180p commented Sep 28, 2015

Copy link
Copy Markdown

#9

@alesya-h

Copy link
Copy Markdown

@cemerick Are there any reason this is not merged yet?

Comment thread src/cemerick/url.cljx Outdated
(defn normalize
[path]
(when (not (string/blank? path))
(let [lastchar (fn [x] (get x (- (count x) 1)))

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couldn't you just use clojure.core/last?

@konradszydlo

Copy link
Copy Markdown

@cemerick Looks like clojure.core/last is added with last commit.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants