-
Notifications
You must be signed in to change notification settings - Fork 1
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
Port "available actions" code from Vonnegut frontend #159
Merged
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
8aeb322
[refactor] Move expr/type metadata lenses in to `Core`
georgefst 9f9446e
Implement some useful lenses and traversals
georgefst ea17808
Add a function for unfolding function types
georgefst e6aae32
[refactor] Move some types from `Primer.App` module to `Primer.Action`
georgefst 9ac4b95
Copy some useful definitions from old frontend's `Vonnegut.Projection…
georgefst fb863b4
Port action priorities from old frontend
georgefst f1b4c2a
Port functions for computing available actions from old frontend
georgefst 389c718
Remove unused definition `findNode`
georgefst 3eeaa8e
[refactor] Parameterise `OfferedAction` over the underlying action type
georgefst 43ea107
Remove unused metadata arguments
georgefst 0d8e966
Silence unused variable warnings
georgefst cb4bd98
Use Haddock syntax in all code recently ported from old frontend
georgefst ea5499e
HLint pass
georgefst c2c3042
Use haddock subheadings in `Primer.Action.Priorities`
georgefst 05a1456
Add un-utilised action modules to weeder roots
georgefst 65d246d
Add warnings about `_exprMetaLens` and `_typeMetaLens` not being recu…
georgefst 031429b
[refactor] Implement more lenses via generics
georgefst 4326bbf
Remove no-longer relevant comment about concurrency
georgefst 3f4a1b4
Replace `destructive` tag on actions with a bespoke enum
georgefst d4b3038
Clarify comment about `optics` lacking `failing` for `AffineTraversal`s
georgefst 0fd4b96
[refactor] Move some definitions out to new `Primer.Name.Fresh` module
georgefst eee3d36
Move `Question` type in to `Questions` module
georgefst ad10683
Avoid using partial field selectors in `UserInput`
georgefst File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This and
Level
possibly belong somewhere more general thanPrimer.Action
. But this seemed a convenient place to put them for now.