This script finds some unused record fields (but not all).
First run npm ci
, and then:
git grep -l '^main =' | xargs elm make --output elm.js && node find-unused-record-fields.js < elm.js
Shared by some nice humans over @ 8th Light
'A delightful language for reliable web apps' - A statically typed, pure functional language for building web user interfaces.
# Basic Syntax | |
target: dependency dependency2 ... | |
command1 | |
command2 | |
# Note that those must BE TABs | |
# Setting variables | |
variable_name = "blah" |
Chapter 1 exercises: | |
Combinators: | |
1. yes | |
2. no | |
3. yes | |
4. yes | |
5. no |
extern crate rusoto_core; | |
extern crate rusoto_s3; | |
extern crate simple_logger; | |
use rusoto_core::Region; | |
use rusoto_s3::{S3, S3Client}; | |
fn main() { | |
simple_logger::init().unwrap(); |
### Keybase proof | |
I hereby claim: | |
* I am 7hoenix on github. | |
* I am jphoenx (https://keybase.io/jphoenx) on keybase. | |
* I have a public key ASBIWBgcbJXAkVCfMlyWtFlxZG-NcmNbHvHKHGuP23Ya8Qo | |
To claim this, I am signing this object: |
I hereby claim:
To claim this, I am signing this object:
(defn minimax [board func] | |
(if (game-is-over? board) | |
(score board func) | |
(let [available (find-available board) | |
states (map #(make-move board player %))] | |
(reduce func states)))) | |
(defn maxi [board] | |
(apply max (map minimax board mini))) |
function countdown (num) { | |
if (num >= 0) { return console.log (0) }; | |
return console.log(countdown (num - 1)); | |
} | |
countdown (5); |
function countdown (num) { | |
console.log(num) | |
if (num <= 0) { return num }; | |
return countdown (num - 1); | |
} | |
countdown (5); |