Skip to content

Instantly share code, notes, and snippets.

View jswrenn's full-sized avatar
🦀

Jack Wrenn jswrenn

🦀
View GitHub Profile
$ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.29.0/install.sh | bash
$ . ~/.nvm/nvm.sh
$ nvm install 0.10.32
$ nvm use 0.10.32
$ foreman run npm install --python=python2.7
$ foreman start
#lang racket
;;; Empty list base-case. Use as a basis for 'prepend'
(define (empty selector)
(selector null null #t))
;;; Prepend : prepend given element to list. use 'empty' as basis
(define (prepend element list)
(lambda (selector)
(selector element list #f)))