Compiling typeerrors/Edinburgh/Ex2.hs (5,30): Type error in literal *** Expression : 2.2 *** Type : Float *** Expected type : Int *** Probable fix : use an int literal instead Compilation failed with 1 type error