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

respect trailing slashes#17

Open
ponimas wants to merge 2 commits intocemerick:masterfrom
ponimas:trailing-slashes
Open

respect trailing slashes#17
ponimas wants to merge 2 commits intocemerick:masterfrom
ponimas:trailing-slashes

Conversation

@ponimas
Copy link
Copy Markdown

@ponimas ponimas commented Sep 28, 2015

#9

@alesya-h
Copy link
Copy Markdown

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

(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