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
$ 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 |
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 | |
;;; 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))) |
NewerOlder