Skip to main content
gamedev.net
🔒 Locked

Scheme help

Started by vinhy 1 reply 700+ views
Original Post
vinhy
vinhy
i wanted to calculate the list of the number by adding the whole list of the number to another list of the number. How can i do that? eg i wanted to add the (32, 43, 43, 54) and (43, 54, 64) Also, for the second list of the number i wanted to be looping so knowing that the first list of the number has four and the second list has 3, the fourth number of the first list will plus the first number of the second list and return the results. by the way, sorry, if it hard to understand and im also using dr scheme
Cocalus
Cocalus
Deja Vu, I guess you must be working from the same book or something.
flangazor
flangazor
This may help. To access these functions in DrScheme/MzScheme, use (require (lib "1.ss" "srfi"))

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.