Skip to content

Latest commit

 

History

History
58 lines (37 loc) · 1.42 KB

ideas.md

File metadata and controls

58 lines (37 loc) · 1.42 KB
  • Record { model | name = "Joe", age = 33} model with age equal to "Joe"
  • Ports and Signals ?
  • Function composition
  • managed side effects
  • Maybe ?

Purely Functional

  1. The function always evaluates the same result value given the same argument value(s).
  2. Evaluation of the result does not cause any semantically observable side effect or output, such as mutation of mutable objects or output to I/O devices (usually—see below).

No side effects

since it always returns the same thing. It makes it easier to reason about. It makes the function trustable. It will always say the same thing to you if you ask it something. It's not an hypocrite.

Immutable

Tools

Amazing error message

Elm Format

Elm reactor

Inline documentation

Package manager

  • package manager (bundler)
  • diff
  • Semantic verionning enforced

Elm repl

Elm reator && Elm live

Time travelling debugger

Reference

Talks

React.js Conf 2016 - Jamison Dance - Rethinking All Practices: Building Applications in Elm Elm Programming Language by Jesse Williamson

Elm format diff

with elm-format

https://asciinema.org/a/9tgwcr3dtqfbh1e2cru07lmsx

without elm-format

https://asciinema.org/a/ea48nkyhix6h8uz5g08std6cb