birds

Crates.iobirds
lib.rsbirds
version0.2.0
sourcesrc
created_at2021-10-25 08:16:08.795302
updated_at2021-11-08 08:03:41.521598
descriptionCombinators using Rust macros
homepage
repositoryhttps://github.com/ArchitBhonsle/birds
max_upload_size
id470850
size5,488
Archit Bhonsle (ArchitBhonsle)

documentation

README

birds

Combinators implemented in Rust named after Raymond Smullyan's birds.

This is just a hobby project to give myself an excuse to explore combinatory logic and Rust generics.

Lambda calculus and Haskell use single argument functions that return another function to "simulate" multiple arguments. Implementing such ideas in Rust can quickly get annoying in Rust both due to the () syntax used to invoke functions and the need to Box our closures. Therefore I've simply used multiple arguments in such cases. (If you have any better ideas please file an issue detailing your idea)

Combinators

  • Bluebird
  • Cardinal
  • Dove
  • Eagle
  • Finch
  • Goldfinch
  • Hummingbird
  • Identity Bird
  • Jay
  • Kestrel
  • Lark
  • Mockingbird
  • Owl
  • Queer Bird
  • Quixotic Bird
  • Quirky Bird
  • Robin
  • Sage bird
  • Starling
  • Thrush
  • Turing bird

Credits

Commit count: 14

cargo fmt