Something went wrong. Try again.
Define datatypes once, get polyglot results
Something went wrong. Try again.
477 B · 44 lines
Elm
at main
123456789101112131415161718192021222324252627282930313233343536373839404142434445module DTT.Example exposing (..)
{- This file was generated by DataTypeTool -}
import Dict exposing (Dict)import Set exposing (Set)import Json.Decode as JDimport Json.Encode as JEimport Json.Decode.Extra as JDEimport Json.Encode.Extra as JEEimport Json.Decode.Pipeline as JDP
type alias People = { firstName : String , lastName : String , age : Int }
type Answers = Yes | No | Unsure
type alias Point = (Float, Float)