Perform an *UNSAFE* head of an affine fold assuming that it is there.
Left 4 ^?! _Left4
"world" ^?! ix 3'l'
[] ^?! _head*** Exception: (^?!): empty affine fold...
:: a typeCtrl KGHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05
Moduleoptics-core-0.4.1.1Haskell2010
Perform an *UNSAFE* head of an affine fold assuming that it is there.
Left 4 ^?! _Left4
"world" ^?! ix 3'l'
[] ^?! _head*** Exception: (^?!): empty affine fold...