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.
私はSchemeの完全な初心者です。with-input-from-fileファイルを読み取り、 procを使用してその内容を変数にロードする関数をコーディングする必要があります。ファイルの内容はリスト(1 2 (3 4) abc r)です。
with-input-from-file
(1 2 (3 4) abc r)
どうやって始めればいいのかもわかりません。誰かが私を助けることができますか?
(define my-list (call-with-input-file "file-that-contains-list.txt" read))