Created
August 23, 2021 11:36
-
-
Save dminuoso/4195934615b775b3ef7514f97b63dcc7 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
*Odin.Core Optics> view (_Just % _1) (Just ("foo", 1)) | |
<interactive>:5:1: error: | |
• An_AffineTraversal cannot be used as A_Getter | |
Perhaps you meant one of these: | |
‘preview’ (from Optics.AffineFold) | |
‘over’ (from Optics.Setter) | |
‘set’ (from Optics.Setter) | |
‘(^?)’ ‘(%~)’ ‘(.~)’ (from Optics.Operators) | |
• In the expression: view (_Just % _1) (Just ("foo", 1)) | |
In an equation for ‘it’: it = view (_Just % _1) (Just ("foo", 1)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment