Search code examples
haskellfunctional-programmingcombinators

Bird name for the (=<<) combinator?


The Haskell aviary combinators lists (=<<) as:

(a -> r -> b) -> (r -> a) -> r -> b

Is there an official bird-name for this? Or can it be derived via the pre-existing ones?


Solution

  • Is there an official bird-name for this?

    I can't find it in Data.Aviary.Birds, so I suppose there's not. If there was, it probably would've been referenced in the list you linked.

    Or can it be derived via the pre-existing ones?

    Surely. The easiest might be to start with the starling whose signature is similar, and just compose it with flip, i.e.

    (=<<) = bluebird starling cardinal