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

respect trailing slashes #17

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ponimas
Copy link

@ponimas ponimas commented Sep 28, 2015

#9

@alesya-h
Copy link

@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

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

@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