Skip to content

Instantly share code, notes, and snippets.

View hgwood's full-sized avatar

Hugo Wood hgwood

View GitHub Profile
@hgwood
hgwood / Main.elm
Last active May 4, 2017 22:01 — forked from anonymous/Main.elm
Example Elm program that gets grants from the GitHub API on the click of a button
module Main exposing (..)
import Html exposing (Html, text)
import Html.Events exposing (onClick)
import Json.Decode exposing (..)
import Http
main =
Html.program { init = init, subscriptions = subscriptions, view = view, update = update }