https://github.com/billstclair/elm-csp
Code to go along with my Steemit article
https://github.com/billstclair/elm-csp
Last synced: 10 months ago
JSON representation
Code to go along with my Steemit article
- Host: GitHub
- URL: https://github.com/billstclair/elm-csp
- Owner: billstclair
- Created: 2016-10-26T04:39:10.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-10-27T00:12:40.000Z (over 9 years ago)
- Last Synced: 2025-08-13T17:11:36.787Z (10 months ago)
- Language: Elm
- Size: 3.91 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Examples to go along with my Steemit article, [Elm: Commands and Subscriptions and Ports. Oh My!](https://steemit.com/elm/@billstclair/elm-commands-and-subscriptions-and-ports-oh-my).
You can try ```csp.elm``` as follows:
```
cd .../elm-csp
elm reactor
```
Then aim your web browser at:
```
http://localhost:8000
```
And click on ```csp.elm```.
You can NOT usefully run ```cps2.elm``` from reactor. You must compile it into JavaScript:
```
cd .../elm-csp
elm make csp2.elm --output csp2.js
```
And then open ```index.html``` in your browser.