Powered by AppSignal & Oban Pro
Would you like to see your link here? Contact us

Otp class

rover/notes.livemd

Otp class

Point

alias Rover.{Point, Robot}
Point.new()
|> Point.move(:north)
|> Point.move(:north)
|> Point.move(:east)
|> Bot.show()
Robot.new()
|> Robot.all(~w(forward forward left forward forward right forward)a)
|> Bot.show()