Created
November 30, 2021 10:23
-
-
Save arafangion/82c31f1dfe01c9cc559bbc6abc0ce699 to your computer and use it in GitHub Desktop.
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
Main.hs:210:35: error: | |
* | No instance for ‘GHC.Generics.Generic | |
(generic-lens-core-2.2.0.0:Data.Generics.Internal.Families.Changing.ReplaceArgs | |
(Env' Identity) | |
(generic-lens-core-2.2.0.0:Data.Generics.Internal.Families.Changing.Unify | |
b'1 a1))’ | |
| arising from a generic lens focusing on the ‘"envLogger"’ field of type ‘a1’ | |
| in ‘generic-lens-core-2.2.0.0:Data.Generics.Internal.Families.Changing.ReplaceArgs | |
(Env' Identity) | |
(generic-lens-core-2.2.0.0:Data.Generics.Internal.Families.Changing.Unify | |
b'1 a1)’ | |
* In the first argument of `set', namely `(field @"envLogger")' | |
In the first argument of `(.)', namely | |
`set (field @"envLogger") lgr' | |
In the second argument of `(<&>)', namely | |
`set (field @"envLogger") lgr | |
. set (field @"envRegion") NorthVirginia' | |
| | |
210 | env <- newEnv Discover <&> set (field @"envLogger") lgr . set (field @"envRegion") NorthVirginia | |
| ^^^^^ | |
Main.hs:210:66: error: | |
* The type Env' | |
Identity does not contain a field named 'envRegion'. | |
* In the first argument of `set', namely `(field @"envRegion")' | |
In the second argument of `(.)', namely | |
`set (field @"envRegion") NorthVirginia' | |
In the second argument of `(<&>)', namely | |
`set (field @"envLogger") lgr | |
. set (field @"envRegion") NorthVirginia' | |
| | |
210 | env <- newEnv Discover <&> set (field @"envLogger") lgr . set (field @"envRegion") NorthVirginia |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment