Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 875
davidkomer Avatar asked Dec 23 '22 08:12

davidkomer


1 Answers

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
like image 79
Bergi Avatar answered Dec 25 '22 22:12

Bergi