This file contains 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
Show hidden characters
{ | |
"compilerOptions": { | |
"module": "commonjs", | |
"target": "es2017", | |
"outDir": "./build", | |
"esModuleInterop": true, | |
"resolveJsonModule": true, | |
"allowJs": false, | |
"sourceMap": true, | |
"strict": true, |
This file contains 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
import Html exposing (..) | |
import Html.Attributes exposing (..) | |
import Html.Events exposing (..) | |
import Json.Decode as Json | |
type Position = ToBeDone | Doing | Completed | |
type alias Todo = { name : String, position : Position } | |
type alias Model = | |
{ todos : List Todo, newTodoName : String } |
This file contains 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
import Html exposing (..) | |
import Html.Attributes exposing (..) | |
import Html.Events exposing (..) | |
type alias Product = { name : String, singular : String, amount : Int, price : Int } | |
type alias Model = | |
{ products : List Product, cash : Int } | |
model : Model |
NewerOlder