- (receive (e c) (modify-entities (list (set-entity-components key (make-a 50 50)) (remove-entity-components key 'b) (new-entity (make-a 1000 1000))) entities components)
- (set! entities e)
- (set! components c))
- (format #t "Last entity removes b and changes a, and new entity with a:~%~a~%~a~%~%" entities components)
+ (set! entities (modify-entities entities (list (set-entity-components key (make-a 50 50)) (remove-entity-components key 'b) (new-entity (make-a 1000 1000)))))
+ (format #t "Last entity removes b and changes a, and new entity with a:~%~a~%~%" (entity-list entities))