Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
誰かがこの質問を教えてくれれば、それは大きな助けになるでしょう:
数値のリストを消費し、組み込みの sqr 関数を使用して計算されたそれらの数値の 2 乗のリストを生成する関数 sqr-list を記述します。以下に示すテンプレートを改良して、関数を記述します。
(定義 (sqr-list lon)
(cond [(empty? lon) ...]
[else (... (first lon) ... ... (sqr-list (rest lon)) ...)]))