-
Notifications
You must be signed in to change notification settings - Fork 721
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bench: Remove dependency on microlens
This just unfolds the definition of (^.) in terms of Control.Applicative.Const in order to evade the import of the Lens module and link to the microlens package. The lens getter appears to be the sole accessor from data abstraction techniques used i.e. the import and export of the Shelley TransitionConfig as an abstract type by Cardano.Ledger.Api.Transition, so the explicitness and readability of the dependency removal are unfortunately limited.
- Loading branch information
1 parent
f1ce770
commit 9f26250
Showing
2 changed files
with
3 additions
and
4 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -120,7 +120,6 @@ library | |
, generic-monoid | ||
, ghc-prim | ||
, io-classes | ||
, microlens | ||
, mtl | ||
, network | ||
, network-mux | ||
|