Crates.io | birds |
lib.rs | birds |
version | 0.2.0 |
source | src |
created_at | 2021-10-25 08:16:08.795302 |
updated_at | 2021-11-08 08:03:41.521598 |
description | Combinators using Rust macros |
homepage | |
repository | https://github.com/ArchitBhonsle/birds |
max_upload_size | |
id | 470850 |
size | 5,488 |
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)