Show useful error message when a function expects optics without indices.
Instances2AcceptsEmptyIndices
AcceptsEmptyIndices f '[]Defined in optics-core-0.4.1.1 · Optics.Internal.Indexed(TypeError (('TextDefined in optics-core-0.4.1.1 · Optics.Internal.Indexed"\8216"
':<>: 'Text f) ':<>: 'Text"\8217 accepts only optics with no indices"
), (x ': xs) ~ NoIx) => AcceptsEmptyIndices f (x ': xs)