div in haskell is mainly used when we want the quotient to obey a strict type :: Int whereas \ on the otherhand returns a fractional type