-
Notifications
You must be signed in to change notification settings - Fork 15
/
Introduction.elm
54 lines (41 loc) · 1.85 KB
/
Introduction.elm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
-- -*- coding: utf-8; -*-
import Lib (..)
import Window
import Signal
import Markdown
main = Signal.map (pageTemplate [content] "toc" "toc" "Chapter1HelloWorld") Window.width
content = Markdown.toElement """
# Introduction
This is a tutorial for the Elm programming language. It is a language
for creating web pages and web applications using Functional Reactive
Programming techniques.
This tutorial does not cover installing and configuring an Elm
programming environment. The Elm [web page](http://elm-lang.org)
provides installation instructions.
Elm is a relatively new programming language. It is evolving
quickly. Breaking changes are not something that is avoided at all
cost. With new Elm releases certain parts of this tutorial may become
obsolete. I am planning to update the tutorial as new Elm versions
appear, however you may expect a time lag between new Elm versions and
new versions of this tutorial. This version of the tutorial targets
Elm 0.14.1.
I am not treating this tutorial as a finished work. You may expect its
content to evolve and to be updated. Partly because of the Elm
evolution that I mentioned above. And partly because I may add new
examples, modify the existing ones, or do other changes that I find
appropriate. Feel free to let me know of any errors, issues, problems,
inconsistencies, or any other remarks that you may have. The source of
the tutorial is located on
[github](http://github.com/grzegorzbalcerek/elm-by-example) and you
can open an issue there.
The examples are available separately from
[github](http://github.com/grzegorzbalcerek/ElmByExample).
The [first](Chapter1HelloWorld.html) chapter will show you how to make
simple Elm programs.
"""
{-
and as an
Elm package. To install the package, you may run:
elm-package install grzegorzbalcerek/ElmByExample
You should have the files installed inside the `elm-stuff` folder.
-}