tracks/haskell/exercises/robot-simulator/src/Robot.hs in trackler-2.0.8.24 vs tracks/haskell/exercises/robot-simulator/src/Robot.hs in trackler-2.0.8.26

- old
+ new

@@ -15,21 +15,21 @@ deriving (Eq, Show) data Robot = Dummy bearing :: Robot -> Bearing -bearing = error "You need to implement this function." +bearing robot = error "You need to implement this function." coordinates :: Robot -> (Integer, Integer) -coordinates = error "You need to implement this function." +coordinates robot = error "You need to implement this function." mkRobot :: Bearing -> (Integer, Integer) -> Robot -mkRobot = error "You need to implement this function." +mkRobot direction coordinates = error "You need to implement this function." simulate :: Robot -> String -> Robot -simulate = error "You need to implement this function." +simulate robot instructions = error "You need to implement this function." turnLeft :: Bearing -> Bearing -turnLeft = error "You need to implement this function." +turnLeft direction = error "You need to implement this function." turnRight :: Bearing -> Bearing -turnRight = error "You need to implement this function." +turnRight direction = error "You need to implement this function."