Hi all. I need a function to copy a value to another one, if I can. And can means the types match.
So I have in mind something like
-- If a and b are the same type return first arg, else return second
combine :: a -> b -> b
It feels like I should be using a generic query typed @b
. But it is late and I am lazy so I am asking here.