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