Skip to content

Borrow good ideas from moniker #28

@lambdageek

Description

@lambdageek

moniker is a binding combinators library for Rust that takes its inspiration from Unbound.

https://github.com/brendanzab/moniker

One interesting design decision was to split up Alpha into a pattern type class and a term type class.

The main change that we make is to have two separate traits (BoundTerm and BoundPattern) in place of Unbound's single Alpha type class. We've found that this better captures the semantics of the library, and greatly cuts down on the potential for accidental misuse.

It's worth exploring whether this makes sense for us, too.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions