A world program represents a ball moving horizontally across the screen. The only changing information is the ball's x-coordinate. Define a data definition named BallWorld for the world state, include an interpretation, and write the basic template for a function that consumes a BallWorld.
Short answerAccepted answer
; BallWorld is Number
; interp. the x-coordinate of the ball
#;
(define (fn-for-ball-world bw)
(... bw))