Polymorphic Homework

styled and functional