Skip to content

Tags: iliana/minlambda

Tags

v0.2.0

Toggle v0.2.0's commit message
Loosen the Result::Err bound

This crate is currently not ergonomic to use with something like anyhow.
Crates like anyhow can't implement `std::error::Error` for their error
types, because that would create multiple `From<anyhow::Error>`
implementations.

I originally wrote the trait bound as `std::error::Error` to make it
clear that should be, well, an error, but `Result<T, E>` already makes
that pretty clear.

The only things we do with the value are get the type name and convert
the type to a string, so I've loosened the bound to make the library
much more convenient to use.

v0.1.0

Toggle v0.1.0's commit message
Initial release