Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Combinators for FsPaths and file extensions #67

Merged
merged 1 commit into from
Jun 3, 2024

Conversation

jorisdral
Copy link
Collaborator

@jorisdral jorisdral commented May 31, 2024

Related: #65

This PR includes combinators like (</>) for FsPaths, which are inspired by the combinators of the same name from the filepath package.

I have also created a new issue #68 because the internal representation of FsPaths seems suboptimal: we often need to linearly traverse the representation when we modify paths.

@jorisdral jorisdral changed the title Combinators for FsPaths and extensions Combinators for FsPaths and file extensions May 31, 2024
@jorisdral jorisdral marked this pull request as ready for review June 3, 2024 11:47
@jorisdral jorisdral requested a review from a team as a code owner June 3, 2024 11:47
@jorisdral
Copy link
Collaborator Author

jorisdral commented Jun 3, 2024

Forgot to change the changelog!

Copy link
Contributor

@dnadales dnadales left a comment

Choose a reason for hiding this comment

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

LGTM. I wonder if we also want to add properties about <.>.

fs-api/src/System/FS/API/Types.hs Outdated Show resolved Hide resolved
fs-api/test/Test/System/FS/API/FsPath.hs Outdated Show resolved Hide resolved
@jorisdral jorisdral force-pushed the jdral/fspath-combinators branch from 7d2e95f to b596c9d Compare June 3, 2024 13:44
@jorisdral jorisdral force-pushed the jdral/fspath-combinators branch from b596c9d to 0f03f19 Compare June 3, 2024 13:46
@jorisdral jorisdral enabled auto-merge June 3, 2024 13:46
@jorisdral jorisdral added this pull request to the merge queue Jun 3, 2024
Merged via the queue into main with commit 47879aa Jun 3, 2024
18 checks passed
@jorisdral jorisdral deleted the jdral/fspath-combinators branch June 3, 2024 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants