Skip to content
New issue

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

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

Already on GitHub? # to your account

Request: export static methods as pure functions #733

Open
mendrik opened this issue Oct 14, 2024 · 0 comments
Open

Request: export static methods as pure functions #733

mendrik opened this issue Oct 14, 2024 · 0 comments

Comments

@mendrik
Copy link

mendrik commented Oct 14, 2024

I was wondering if we could get use liftMaybe() instead of MaybeAsync.liftMaybe() if there would be a shortened export

import { liftMaybe } from 'purify-ts/MaybeAsync'

same for all the either static functions like fromNullable, etc.

then I can also easily rename it import { liftMaybe as liftM } from 'purify-ts/MaybeAsync' and so on.

Not super important but would be nice to have convinience.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant