Giter VIP home page Giter VIP logo

elm-workshop's Introduction

Elm Workshop

An introductory workshop to learn Elm. https://sporto.github.io/elm-workshop/

Contributing

All content for the worshop is in /content

Building

Install Hugo Min 0.25 required.

Install the theme:

git clone [email protected]:vjeantet/hugo-theme-docdock.git themes/docdock

Preview

hugo serve

Build

hugo

Workshop will be build in the docs directory.

elm-workshop's People

Contributors

deadbeef404 avatar jeznag avatar sentience avatar sporto avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

elm-workshop's Issues

Typo in introduction

In the Introduction to Functions section the code reads:

add2 3 -- 5 : number,

however it should be

increment 3 --5 : number

Plan for the workshop

Delivery

  • We will ask people to install the Elm Platform (from a USB drive). This should be all they need
  • The workshop will be safe paced. We will provide a html document.

Topics

Quick Introduction

  • What is Elm
  • Why Elm

Fundamentals

  • Show a function definition, explain argument definition, signature and how is it called
  • Show union types, explain briefly what they are

First html program

  • Using elm reactor write a hello world application

The Elm Architecture

  • Explain the TEA using a diagram, draw parallels with Redux
  • Using Elm Reactor write a basic app that uses the Elm architecture
  • Add basic interaction: Add a message and update branch
  • Add a side effect using commands

Challenges

  • Ask people to implement some basic features

Can't build the workshop docs with Hugo

> hugo serve
Started building sites ...
ERROR 2017/07/03 16:33:16 Unable to locate template for shortcode "mermaid" in page "04-interaction/02-flow.md"
ERROR 2017/07/03 16:33:16 Unable to locate template for shortcode "panel" in page "01-introduction/03-functions.md"
Built site for language en:
0 draft content
0 future content
0 expired content
20 regular pages created
16 other pages created
2 non-page files copied
0 paginator pages created
0 categories created
0 tags created
total in 9 ms
Watching for changes in /Users/kyank/code/elm-workshop/{content,layouts,static}
Serving pages from memory
Web Server is available at http://localhost:1313/ (bind address 127.0.0.1)
Press Ctrl+C to stop

When viewing the site at http://localhost:1313/, I just get a blank page.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.