3 ms·
That was kind of my impression, from the discussion in Alexander Stepanov and Daniel Rose's From Mathematics to Generic Programming (which is a pretty decent bo
by mcguire 11y ago
That was kind of my impression, from the discussion in Alexander Stepanov and Daniel Rose's From Mathematics to Generic Programming (which is a pretty decent book, by the way).
My understanding[1] is that concepts act like a type system for templates and like typeclasses in Haskell and traits in Rust.
[1] http://maniagnosis.crsr.net/2015/07/abstracted-algebra-in-rust.html http://maniagnosis.crsr.net/2015/07/abstracted-algebra-in-ru...