elm

Elm sounds a lot better than javascript. In fact, everything sounds a hell of a lot better than javascript.

It appears to need whitespace on new lines

Syntax!!!

http://elm-lang.org/docs/syntax

Multi-line declarations in the repl

square n = \ n^2

Examples

four = 2 + 2

sixteen = 8 * 2

eleven = (4 * 3) - 1

thirteen = 4 * 3 + 1

isTeenage age = (age > 12) && (age < 20)

isTeenage four

import Basics exposing (..) import List exposing ( List, (::) ) import Maybe exposing ( Maybe( Just, Nothing ) ) import Result exposing ( Result( Ok, Err ) ) import String import Tuple

import Debug

import Platform exposing ( Program ) import Platform.Cmd exposing ( Cmd, (!) ) import Platform.Sub exposing ( Sub )

Post Content