Sha256: 35a9d4a4591f23d142c6691aad7a0f71c3cac0571cfff00d070ed38e1817a283

Contents?: true

Size: 625 Bytes

Versions: 61

Compression:

Stored size: 625 Bytes

Contents

module Robot
    ( Bearing(East,North,South,West)
    , bearing
    , coordinates
    , mkRobot
    , simulate
    , turnLeft
    , turnRight
    ) where

data Bearing = North
             | East
             | South
             | West
             deriving (Eq, Show)

bearing :: Robot -> Bearing
bearing = undefined

coordinates :: Robot -> (Integer, Integer)
coordinates = undefined

mkRobot :: Bearing -> (Integer, Integer) -> Robot
mkRobot = undefined

simulate :: Robot -> String -> Robot
simulate = undefined

turnLeft :: Bearing -> Bearing
turnLeft = undefined

turnRight :: Bearing -> Bearing
turnRight = undefined

Version data entries

61 entries across 61 versions & 1 rubygems

Version Path
trackler-2.0.6.5 tracks/haskell/exercises/robot-simulator/src/Robot.hs
trackler-2.0.6.4 tracks/haskell/exercises/robot-simulator/src/Robot.hs
trackler-2.0.6.3 tracks/haskell/exercises/robot-simulator/src/Robot.hs
trackler-2.0.6.2 tracks/haskell/exercises/robot-simulator/src/Robot.hs
trackler-2.0.6.1 tracks/haskell/exercises/robot-simulator/src/Robot.hs
trackler-2.0.6.0 tracks/haskell/exercises/robot-simulator/src/Robot.hs
trackler-2.0.5.18 tracks/haskell/exercises/robot-simulator/src/Robot.hs
trackler-2.0.5.17 tracks/haskell/exercises/robot-simulator/src/Robot.hs
trackler-2.0.5.16 tracks/haskell/exercises/robot-simulator/src/Robot.hs
trackler-2.0.5.15 tracks/haskell/exercises/robot-simulator/src/Robot.hs
trackler-2.0.5.14 tracks/haskell/exercises/robot-simulator/src/Robot.hs
trackler-2.0.5.13 tracks/haskell/exercises/robot-simulator/src/Robot.hs
trackler-2.0.5.12 tracks/haskell/exercises/robot-simulator/src/Robot.hs
trackler-2.0.5.11 tracks/haskell/exercises/robot-simulator/src/Robot.hs
trackler-2.0.5.10 tracks/haskell/exercises/robot-simulator/src/Robot.hs
trackler-2.0.5.9 tracks/haskell/exercises/robot-simulator/src/Robot.hs
trackler-2.0.5.8 tracks/haskell/exercises/robot-simulator/src/Robot.hs
trackler-2.0.5.7 tracks/haskell/exercises/robot-simulator/src/Robot.hs
trackler-2.0.5.6 tracks/haskell/exercises/robot-simulator/src/Robot.hs
trackler-2.0.5.5 tracks/haskell/exercises/robot-simulator/src/Robot.hs