Skip to content

Instantly share code, notes, and snippets.

.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 (...) ) )
type Maybe a = Just a | Nothing