Skip to content

Instantly share code, notes, and snippets.

@kimjoar
kimjoar / gist:99bbdeb5a33d94c98a2f
Created November 13, 2014 22:11
Fill all directions
<!doctype html>
<html>
<head>
<style>
html, body {
height: 100%;
}
body {
margin: 0;

Keybase proof

I hereby claim:

  • I am kimjoar on github.
  • I am kimjoar (https://keybase.io/kimjoar) on keybase.
  • I have a public key ASAlPgxy5Rw4uZToevAd2fdalEfs9KGIrkBKEpYBT-0cvAo

To claim this, I am signing this object:

module.exports.rules = {
'no-default-export': function(context) {
return {
ExportDefaultDeclaration: function(node) {
context.report(node, 'Default exports are not allowed.');
}
};
}
};
type Fn<T, R> = (x: T) => R;
declare function pipeArgs<T, A, B, C>(source: T, op1: Fn<T, A>, op2: Fn<A, B>, op3: Fn<B, C>): C;
declare function pipeArgs<T, A, B>(source: T, op1: Fn<T, A>, op2: Fn<A, B>): B;
declare function pipeArgs<T, A>(source: T, op1: Fn<T, A>): A;
declare function pipeArray<T, A, B, C>(source: T, ops: [Fn<T, A>, Fn<A, B>, Fn<B, C>]): C;
declare function pipeArray<T, A, B>(source: T, ops: [Fn<T, A>, Fn<A, B>]): B;
declare function pipeArray<T, A>(source: T, ops: [Fn<T, A>]): A;