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
fibonacci 0 = 0 | |
fibonacci 1 = 1 | |
fibonacci n = fibonacci (n - 1) + fibonacci (n - 2) |
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
inc x = x + 1 | |
log str = console.log str | |
console.log (inc 5) | |
log 500 | |
// Output: | |
var inc = function (x) { | |
return x + 1; | |
}; |
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
/* | |
* Paste this CSS into the Stylebot Chrome Extension ( http://bit.ly/fNacLp ) | |
* to get normal horizontal scroll bars on netflix.com instead of its current | |
* eye-searing nausea-inducing hover-to-scroll monstrosity. | |
* | |
* Sweet relief! | |
* | |
* Released to the public domain by Richard Feldman - @rtfeldman on Twitter | |
*/ |
NewerOlder