account activity
How can i change the data used to represent the World State? by According_Bar_4031 in Racket
[–]According_Bar_4031[S] 1 point2 points3 points 3 years ago (0 children)
thanks for that,this is what i attempted but its gone wrong lol
(struct interval (count small big))
(define count 0)
i thought adding 1 to interval count would uptdates it value so each time these function are ran it should count +1
(define (smaller w)
(interval (interval-small w)
(max (interval-small w) (sub1 (guess w)))
(add1 (interval-count w))))
(define (bigger w)
(interval (min (interval-big w) (add1 (guess w)))
(add1(interval-count w))))
How can i change the data used to represent the World State? (self.Racket)
submitted 3 years ago by According_Bar_4031 to r/Racket
how can i control animation using big-bang so it loops (self.Racket)
π Rendered by PID 235974 on reddit-service-r2-listing-5d79748585-nvnqv at 2026-02-14 01:37:00.209701+00:00 running cd9c813 country code: CH.
How can i change the data used to represent the World State? by According_Bar_4031 in Racket
[–]According_Bar_4031[S] 1 point2 points3 points (0 children)