This file contains hidden or 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
class Person | |
@name | |
def hello | |
p @name ||= 'Michael' | |
end | |
end | |
man = Person.new |
This file contains hidden or 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"; | |
// count : Number | |
var count = 0; | |
function p(obj) { | |
console.log(obj); | |
} | |
// sumcountup5 : Number, Number -> Countup(Number) 副作用なし |
This file contains hidden or 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
(define (square x) | |
(* x x)) | |
(define (abs x) | |
(cond ((< x 0) (- x)) | |
((>= x 0) x))) | |
(define (sqrt-iter guess x) | |
(if (good-enough? guess x) | |
guess |
This file contains hidden or 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'; | |
var blacklist = require('./node_modules/react-native/packager/blacklist'); | |
var path = require('path'); | |
/** | |
* Default configuration for the CLI. | |
* | |
* If you need to override any of this functions do so by defining the file |
NewerOlder