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

use ES modules #46

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

use ES modules #46

wants to merge 1 commit into from

Conversation

davidchambers
Copy link
Member

sanctuary-js/sanctuary#726

This is the most significant line of the pull request:

export {Descending};

I used a named export rather than a default export to make this package, which exports one data constructor, consistent with packages that export multiple data constructors. In other words, the export is named Descending rather than default.

@davidchambers davidchambers force-pushed the davidchambers/esm branch 2 times, most recently from f71a9b8 to 4215eef Compare January 10, 2024 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants