Skip to content

Instantly share code, notes, and snippets.

@tiziano88
Last active July 1, 2016 22:06
Show Gist options
  • Save tiziano88/7beb26152275326eb77bf9f754f14d9d to your computer and use it in GitHub Desktop.
Save tiziano88/7beb26152275326eb77bf9f754f14d9d to your computer and use it in GitHub Desktop.
module Main exposing (..)
import Html
import Json.Decode as JD exposing ((:=))
import Json.Encode as JE
main = Html.text <| toString <| JD.decodeString aDecoder "{}"
type A = A A
aDecoder : JD.Decoder A
aDecoder =
JD.map A aDecoder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment