Skip to content

Latest commit

 

History

History
24 lines (21 loc) · 2.47 KB

CombinatoryBirds.md

File metadata and controls

24 lines (21 loc) · 2.47 KB

Bird combinators

bird syntax combinator interpretation
idiot a -> a I combinator id
kestrel a -> b -> a K combinator const
bluebird (b -> c) -> (a -> b) -> a -> c B combinator compose
cardinal (a -> b -> c) -> b -> a -> c C combinator flip
applicator (a -> b) -> a -> b A combinator function application
psi (b -> b -> c) -> (a -> b) -> a -> a -> c Psi combinator on
becard (c -> d) -> (b -> c) -> (a -> b) -> a -> d B3 combinator
blackbird (c -> d) -> (a -> b -> c) -> a -> b -> d B1 combinator
bluebird prime (a -> c -> d) -> a -> (b -> c) -> b -> d B' combinator
bunting (d -> e) -> (a -> b -> c -> d) -> a -> b -> c -> e B2 combinator