diff --git a/exercises/robot-name/HINTS.md b/exercises/robot-name/HINTS.md new file mode 100644 index 000000000..78bc5b502 --- /dev/null +++ b/exercises/robot-name/HINTS.md @@ -0,0 +1,11 @@ +## Hints + +To complete this exercise, you need to create the data type `Robot`, +as a mutable variable, and implement the following functions: + +- `mkRobot` +- `resetName` +- `robotName` + +You will find the type signatures already in place, but it is up to you +to define the functions. diff --git a/exercises/robot-name/src/Robot.hs b/exercises/robot-name/src/Robot.hs index f6100905f..7b5e1e45e 100644 --- a/exercises/robot-name/src/Robot.hs +++ b/exercises/robot-name/src/Robot.hs @@ -1,8 +1,5 @@ module Robot (Robot, mkRobot, resetName, robotName) where --- The task is to create the data type `Robot`, as a --- mutable variable, and implement the functions below. - mkRobot :: IO Robot mkRobot = undefined