scheme Pairs Access the car of the pair.

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Insert
> Step 2: And Like the video. BONUS: You can also share it!

Example

The data in the pair can be accessed with utility functions. To access the car, we have to use the car function.

(car (cons a b))
> a

Also we can verify the following equality:

(eq? a (car (cons a b)))
> #t


Got any scheme Question?