In Haskell, is it possible to write a function with a signature that can accept two different (although similar) data types, and operate differently depending on what type is pa
It sounds like you might want to read up on typeclasses.