Website

Check-in [50d720c73f]
Login
Overview
Comment:Setup elm architecture in playground.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 50d720c73fe9a546228fb82a13d11400ddd64f7d487298be433ea4f5fa724129
User & Date: robin.hansen on 2020-11-03 04:47:09
Other Links: manifest | tags
Context
2020-11-03
05:29
Playground now has a working textarea for editing source code. check-in: 8975f5e2dc user: robin.hansen tags: trunk
04:47
Setup elm architecture in playground. check-in: 50d720c73f user: robin.hansen tags: trunk
2020-11-02
05:54
Setup project structure. check-in: 8a9c1974f6 user: robin.hansen tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Modified playground/src/Playground.elm from [8cfda1dcf9] to [e1b3cf3a0a].

1
2

3
4
5
6










































7
8






module Playground exposing (main)


import Html exposing (Html)


main : Html a










































main =
    Html.text "Hello World!"








>



<
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>

<
>
>
>
>
>
>
1
2
3
4
5
6

7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49

50
51
52
53
54
55
module Playground exposing (main)

import Browser
import Html exposing (Html)




-- MODEL


type alias Model =
    { source : String }


init : flags -> ( Model, Cmd Msg )
init _ =
    ( { source = "" }
    , Cmd.none
    )



-- Update


type Msg
    = NoOp


update : Msg -> Model -> ( Model, Cmd Msg )
update msg model =
    ( model, Cmd.none )



-- VIEW


view : Model -> Html Msg
view model =
    Html.text "Hello"



-- MAIN


main : Program () Model Msg
main =

    Browser.element
        { init = init
        , update = update
        , view = view
        , subscriptions = always Sub.none
        }