filter/get certain elements from a list of structs in DrRacket?

前端 未结 0 468
一生所求
一生所求 2021-01-05 10:12

I want to get some elements into one list. for example:

(define-struct fruit (name price))

(list (make-fruit (\'apple 2)) (make-fruit (\'pear 3)) (make-fruit (

相关标签:
回答
  • 消灭零回复
提交回复
热议问题