Question: Compare the follow two Scheme forms: ( append ( 1 2 ) ( 4 5 ) ) and ( cons ( 1 2 ) (

Compare the follow two Scheme forms:
(append (12)(45)) and (cons (12)(45)).
Group of answer choices
Both return Error.
(append (12)(45)) returns ((12)45).
Both return: (1245).
(cons (12)(45)) returns ((12)45).

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!