3 ms·
> Essentially, instead of the compile-time value attached to a binding only being a type (with generics, optionally), it could also have a regular Rust value at
by naasking 5y ago
> Essentially, instead of the compile-time value attached to a binding only being a type (with generics, optionally), it could also have a regular Rust value attached to it.
You've just reinvented dependent typing and all of its glory and challenges.