Created
March 31, 2015 09:47
-
-
Save ekhall/d288fb6d0e3b88369701 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#lang racket | |
(struct student (name id# dorm)) | |
(define bob (student 'Bob 1234 'dorm1)) | |
(list bob) ; -> '(#<student>) | |
'(bob) ; -> '(bob) | |
; I thought these two ways of creating lists were equivalent? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment