Last active
July 1, 2016 22:06
-
-
Save tiziano88/7beb26152275326eb77bf9f754f14d9d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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