You can also do functions that handle multiple types too:
proc foo(bar: Fizz | Buzz) =
echo bar.name
RunAssuming Fizz and Buzz both have a name field. You can also use `when` with `is` checks to do different pieces of code for the types too.
