Rename >>= to >>? and >>| to >?| to avoid clashes with Control.Monad
See #374 for discussion. Notes:
- Incidone already had a
>>?for an Ok/Cancel step; I renamed it to
>>=remains in iTasks.UI.Layout and iTasks.UI.Layout.Common where it is taken from Control.Monad, in CreateBasicAPIExamples where it is defined locally, and in commented code in ShipAdventure.
>>|only remains in commented code in ShipAdventure.
>>?is now used only 12x in the examples and 0x in the library, mostly in cases where I wasn't sure whether
>>!should be used, although there were some (higher-order) cases where the magic behaviour may actually be used.
>?|is similar; used 44x in the examples and 0x in the library.
- To compare, this is how often the other combinators are used in this repository (library+examples): 113x
- I clicked through all BasicAPIExamples and they seem fine, but there may be some cases where I used
>>-and it should have been
>>!or vice versa
- There may be cases where code can be cleaned up (e.g. where
`b`from Control.Monad is used), but this can be done later on.
Assigning @baslijns and cc'ing @mlubbers since you haven't given your verdict on these names yet. They can still be changed; most of the work went into deciding whether cases of
>>= should be changed into
>>! (and same for