I understand that traits are something like typeclasses or interfaces: are single-method traits kept around as traits, or is the function itself passed around in the optimized output?
I'm actually suddenly curious about how other functional language compilers look compared to GHC.