Skip to content

Instantly share code, notes, and snippets.

@ekhall
Created March 31, 2015 09:47
Show Gist options
  • Save ekhall/d288fb6d0e3b88369701 to your computer and use it in GitHub Desktop.
Save ekhall/d288fb6d0e3b88369701 to your computer and use it in GitHub Desktop.
#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