1. 5
  1.  

  2. 2

    Is it similar to Haskell’s Data.Dynamic and Rust’s std::any::Any? How is it related to sum types mentioned in article? Are these dynamic objects the only way to emulate sum types in D?