Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Comments

Expose combineAlways and hasLeadingPathSeparator#97

Open
hasufell wants to merge 2 commits intohaskell:1.5.0.0 from
hasufell:API-extension
Open

Expose combineAlways and hasLeadingPathSeparator #97
hasufell wants to merge 2 commits intohaskell:1.5.0.0 from
hasufell:API-extension

Conversation

@hasufell
Copy link
Member

@hasufell hasufell commented Dec 3, 2021

Relevant: #49

@hasufell hasufell added this to the 1.5 milestone Dec 3, 2021
@hasufell hasufell changed the base branch from master to 1.5.0.0 December 3, 2021 17:07
Copy link
Member Author

hasufell commented Dec 3, 2021

Note this behavior:

-- > Posix: "home" <\> "/bob" == "home//bob"

Comment on lines +636 to +638
if hasLeadingPathSeparator x && not (isDrive x)
then let x' = dropWhile isPathSeparator x
in if null x' then [last x] else x'
Copy link
Member Author

@hasufell hasufell Dec 3, 2021

Choose a reason for hiding this comment

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

Not too sure about this.

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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

1.5

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /