Traverse the individual characters in a Text
.
>>>
anyOf text (=='c') "chello"
True
text
= unpacked
. traversed
When the type is unambiguous, you can also use the more general each
.
text
≡ each
Note that when just using this as a Setter
, setting
map
can be more efficient.