This gist: https://gist.github.com/lucamug/8842415a63935fb5b58e133cfb2566ed
Clone and copy the content of the src folders of these two repos in your project
https://github.com/mdgriffith/elm-ui/tree/2.0
This gist: https://gist.github.com/lucamug/8842415a63935fb5b58e133cfb2566ed
Clone and copy the content of the src folders of these two repos in your project
https://github.com/mdgriffith/elm-ui/tree/2.0
| .parent | |
| { height: 100% | |
| ; display: flex | |
| ; justify-content: center | |
| ; align-items: center | |
| } |
| image : | |
| List (Attribute msg) | |
| -> { src : String, description : String } | |
| -> Element msg |
| img : | |
| List (Attribute msg) | |
| -> List (Html msg) | |
| -> Html msg |
| div : List (Attribute msg) -> List (Html msg) -> Html msg | |
| text : String -> Html msg |
| function add(a) { | |
| return function(b) { | |
| return a + b; | |
| } | |
| } |
| add = a => b => a + b // a => b => a + b | |
| add(1) // b => a + b | |
| add(1)(2) // 3 |
| add a b = a + b |
| proc() { | |
| proc1(); | |
| proc2(); | |
| proc3(); | |
| } |
| func1 ( func2 ( func3 (...) ) ) |