Created
August 23, 2021 11:34
-
-
Save dminuoso/58f816500a5cd9fa4affff440e301af6 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 each [1,2,3] | |
<interactive>:2:1: error: | |
• A_Traversal cannot be used as A_Getter | |
Perhaps you meant one of these: | |
‘traverseOf’ (from Optics.Traversal) | |
‘traverseOf_’ (from Optics.Fold) | |
‘foldMapOf’ (from Optics.Fold) | |
‘toListOf’ (from Optics.Fold) | |
‘over’ (from Optics.Setter) | |
‘set’ (from Optics.Setter) | |
‘(^..)’ ‘(%~)’ ‘(.~)’ (from Optics.Operators) | |
• In the expression: view each [1, 2, 3] | |
In an equation for ‘it’: it = view each [1, 2, 3] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment