I made the following class to convert between different temperature types:
data Temp = Kelvin Float | Celsius Float |Fahrenheit Float deriving Show conversio