Our great sponsors
-
frunk
Funktional generic type-level programming in Rust: HList, Coproduct, Generic, LabelledGeneric, Validated, Monoid and friends.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
I wonder if frunk can (ab)use this kind of trick to make their crate even more powerful. IIRC they have a bunch of amazing and horrible workarounds to work with type-level lists.
https://github.com/willcrichton/tyrade#more-complex-example-session-and-list-types
I'd like to try to rewrite typic with tyrade, but I'd need to first swap out tyrade's peano-arithmetic number system for typenum's binary-arithmetic system.
NOTE:
The number of mentions on this list indicates mentions on common posts plus user suggested alternatives.
Hence, a higher number means a more popular project.
Related posts
- Apply generic function to every tuple element
- Self Referencing structs with different generic types
- Is there a convenient way to convert a struct<T> (where all fields are of type T) into struct<U> where U: From<T>?
- Can we make useful streaming APIs that disallow deadlocks?
- constduck: compile-time duck typing and reflection powered by const generics