This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Elm: functional programming in your browser
Alex Troush
DisclaimerTrolling is a part of show and not (mostly!) reflect the opinion of the author
Function Concepts you need to know nowImmutable data
First-class functions
Pure Functions
Recursion
Elm hello worldimport Html exposing (span, text)import Html.Attributes exposing (class)
main = span [class "welcome-message"] [text "Hello, World!"]