I hereby claim:
- I am s-m-i-t-a on github.
- I am smita (https://keybase.io/smita) on keybase.
- I have a public key whose fingerprint is B53B 6946 2449 DDDF 617D DA8E BE91 15FF CC84 37D2
To claim this, I am signing this object:
| // Available variables: | |
| // - Machine | |
| // - interpret | |
| // - assign | |
| // - send | |
| // - sendParent | |
| // - spawn | |
| // - raise | |
| // - actions |
| // Available variables: | |
| // - Machine | |
| // - interpret | |
| // - assign | |
| // - send | |
| // - sendParent | |
| // - spawn | |
| // - raise | |
| // - actions |
| // Available variables: | |
| // - Machine | |
| // - interpret | |
| // - assign | |
| // - send | |
| // - sendParent | |
| // - spawn | |
| // - raise | |
| // - actions |
| // Available variables: | |
| // - Machine | |
| // - interpret | |
| // - assign | |
| // - send | |
| // - sendParent | |
| // - spawn | |
| // - raise | |
| // - actions |
| /* Works but props not added to values array */ | |
| let sayHello = name => | |
| LitHtml.html( | |
| {j| | |
| <h1>Hello $(name) </h1> | |
| <p>Goodbye</p> | |
| <div> | |
| <span>This is nested</span> | |
| </div> | |
| |j}, |
| module Main exposing (..) | |
| type alias Bar = | |
| { baz : String } | |
| type alias Foo = | |
| { bar : Bar } |
I hereby claim:
To claim this, I am signing this object:
| module Update exposing (dispatch) | |
| {-| Create update function | |
| updater1 : Msg -> Model -> Maybe Model | |
| updater1 msg model = | |
| case msg of | |
| Foo -> | |
| Just { model | foo = "Foo" } | |
| _ -> |
| // MAIN iterator | |
| function isInstanceOf(output, input, instanceOfType) { | |
| return output ? output instanceof instanceOfType : input instanceof instanceOfType | |
| } | |
| function asSet(data) { | |
| return new Set(data.values()) |
| #!/usr/bin/env bash | |
| # MIT © Sindre Sorhus - sindresorhus.com | |
| # git hook to run a command after `git pull` if a specified file was changed | |
| # Run `chmod +x post-merge` to make it executable then put it into `.git/hooks/`. | |
| changed_files="$(git diff-tree -r --name-only --no-commit-id ORIG_HEAD HEAD)" | |
| check_run() { | |
| echo "$changed_files" | grep --quiet "$1" && eval "$2" |