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 brick 1 #47

Merged
merged 3 commits into from
Dec 10, 2022
Merged

Use brick 1 #47

merged 3 commits into from
Dec 10, 2022

Conversation

ncfavier
Copy link
Contributor

@ncfavier ncfavier commented Dec 9, 2022

https://hackage.haskell.org/package/brick/changelog

brick 1.0 refactored event handling to use MonadState, and some functions now expect to be run by zooming on a lens. In order not to add a dependency on the lens library I made a _ModalWhyDepends traversal myself and pulled the rest from microlens (which brick depends on).

Tested, everything seems to work as before.

Breaks the Nix build, but will be fixed as soon as NixOS/nixpkgs#202022 (comment) lands.

@utdemir utdemir merged commit d492797 into utdemir:main Dec 10, 2022
@utdemir
Copy link
Owner

utdemir commented Dec 10, 2022

Thank you so much for doing this! It all looks great to me (and I definitely couldn't have figured out the zoom usage myself 😅 ), and I'll cut a release right away so haskell-updates doesn't need to provide an override.

@ncfavier ncfavier deleted the brick-1 branch December 10, 2022 09:34
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