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

Add Applicative trait #115

Merged
merged 8 commits into from
Aug 21, 2024
Merged

Add Applicative trait #115

merged 8 commits into from
Aug 21, 2024

Conversation

janmasrovira
Copy link
Contributor

@janmasrovira janmasrovira commented Jul 23, 2024

  • Add Applicative trait.
  • Add instances for List, Maybe, Result.

@janmasrovira janmasrovira force-pushed the applicative branch 3 times, most recently from d79d29c to 076ff28 Compare July 31, 2024 10:40
@janmasrovira janmasrovira self-assigned this Jul 31, 2024
@janmasrovira janmasrovira added the enhancement New feature or request label Jul 31, 2024
@janmasrovira janmasrovira marked this pull request as ready for review July 31, 2024 10:41
@janmasrovira janmasrovira requested a review from paulcadman July 31, 2024 13:41
@paulcadman
Copy link
Collaborator

Can we merge this after the following PRs?

Otherwise we'd have to do another round of updating the juvix-stldib ref in main of juvix and rebasing.

@janmasrovira janmasrovira force-pushed the applicative branch 2 times, most recently from 581c12a to 132a0c6 Compare July 31, 2024 14:10
@janmasrovira janmasrovira mentioned this pull request Aug 2, 2024
@janmasrovira janmasrovira force-pushed the applicative branch 2 times, most recently from ea4faec to d8da355 Compare August 5, 2024 14:11
Comment on lines -11 to 12
import Stdlib.Trait.Functor open;
import Stdlib.Trait open;
import Stdlib.Trait.Partial open;
Copy link
Collaborator

Choose a reason for hiding this comment

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

If you use import Stdlib.Trait open are the other Trait imports redundant?

Comment on lines 7 to +8
import Stdlib.Trait.Ord open;
import Stdlib.Trait.Functor open;
import Stdlib.Trait open;
Copy link
Collaborator

@paulcadman paulcadman Aug 5, 2024

Choose a reason for hiding this comment

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

If you use import Stdlib.Trait open are the other Trait imports redundant?

@paulcadman paulcadman merged commit f51043d into main Aug 21, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants