https://github.com/jamesmacaulay/hello-elm
https://github.com/jamesmacaulay/hello-elm
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jamesmacaulay/hello-elm
- Owner: jamesmacaulay
- Created: 2017-02-02T01:35:44.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-02-02T01:35:58.000Z (over 8 years ago)
- Last Synced: 2025-01-11T11:47:59.767Z (5 months ago)
- Language: Elm
- Size: 1.19 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hello Elm!
---
"a delightful language for reliable webapps"
---
* a language
* compiles to JS
* has its own package ecosystem
* focused on building browser apps---
```javascript
// JavaScript
function incrementAll(numbers) {
return numbers.map(num => num + 1);
}
```---
```elm
-- Elm
incrementAll numbers =
List.map (\num -> num + 1) numbers
```---
```elm
-- Elm
incrementAll : List number -> List number
incrementAll numbers =
List.map (\num -> num + 1) numbers
```---
* functional
* statically typed
* in the ML family (Haskell, OCaml, Purescript)---
## Why Elm?
---

---

---
## (Almost) no runtime exceptions!
---

---
## Astonishingly helpful error messages
---

---

---
## Fearless refactoring
---
## Type-enforced semantic versioning
---
## Easy to embed inside your existing JS app
---
```
npm i react-elm-components
```---
## Really fast HTML
---

---
## One really nice way of building apps
---

---
## It's fun!
---
## Thanks!
### `*/jamesmacaulay`
---
## www.meetup.com/Elm-Toronto
### Thursday, February 9th @ Dundas Video
---
* `elm-lang.org`
* `guide.elm-lang.org`
* `www.manning.com/books/elm-in-action`
* `pragmaticstudio.com/elm`