I hereby claim:
- I am pboyer on github.
- I am ptrbyr (https://keybase.io/ptrbyr) on keybase.
- I have a public key ASCH7bHPaPSZitcJ5kWPhICNHuFCkzVddoRtTcJLvwLgHQo
To claim this, I am signing this object:
| // GraphNodeValue is the type of value a GraphNode evaluation can produce | |
| type GraphNodeValue = any; | |
| // GraphNodeArgs are the arguments of a GraphNode evaluation | |
| type GraphNodeArgs = GraphNodeValue[]; | |
| // GraphNodeResult is the result of a GraphNode evaluation | |
| type GraphNodeResult = GraphNodeValue[]; | |
| // GraphEnv is the result of a Graph evaluation. Env is short for "environment" in programming language jargon. |
| # a code-gen job must be added to the application's CMakeLists.txt through a call to fips_generate() | |
| fips_begin_app(dragons windowed) | |
| fips_src(.) | |
| fips_generate(FROM files.yml TYPE filecopy OUT_OF_SOURCE ARGS "{ deploy_dir: \"${FIPS_PROJECT_DEPLOY_DIR}\" }") | |
| # REMOVE THIS: n3h5_files(files.yml) | |
| fips_deps(emsctest) | |
| fips_end_app() |
I hereby claim:
To claim this, I am signing this object:
| interface TypedArray { | |
| readonly length : number; | |
| readonly [n: number]: number; | |
| BYTES_PER_ELEMENT : number; | |
| set(n : ArrayLike<number>, offset : number) : void; | |
| } | |
| interface TypedArrayConstructor<T extends TypedArray> { | |
| new (buffer: ArrayBuffer, byteOffset?: number, length?: number): T; | |
| } |
| import Html exposing (Html) | |
| import Html.Events exposing (..) | |
| import Html.App as App | |
| import Svg exposing (..) | |
| import Svg.Attributes exposing (..) | |
| import Mouse exposing (Position) | |
| import Json.Decode as Json exposing((:=)) | |
| main = | |
| App.program { |
| // Our initial conception of the factorial function | |
| // Uses straightforward recursion to acheive its purpose | |
| fact = | |
| function(n){ | |
| return (n === 1) ? 1 : n * fact(n-1); | |
| }; | |
| console.log( fact(5) ); // returns 120 |