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 | |
(define and-rec | |
(lambda (lst) | |
(if (null? lst) | |
#t | |
(and (car lst) (and-rec (cdr lst)))))) | |
(define rect | |
(lambda (x y width height) |
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
'use strict'; | |
const gulp = require('gulp'); | |
const babel = require('gulp-babel'); | |
gulp.task('default', () => | |
gulp.src('iife-bug-reproduction.js') | |
.pipe(babel({ plugins: [ | |
// To make it work, either comment out this one... |
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
// Copyright (c) 2016 Drake Developers Club All Rights Reserved. | |
/** | |
* Define a Class function for easy creation of classes. | |
* | |
* Usage: | |
* var MyClass = Class({ | |
* // Defines the constructor. Optional, defaults to calling the superclass | |
* // constructor without arguments. | |
* constructor: function MyClass(foo) { |