on master help sign in
Bump version number of Elm.
66720b5evancz
elm/Elm.cabal+2−2
@@ -1,6 +1,6 @@
1
1
2Name: Elm
2Name: Elm
3−Version: 0.5.0.2
3+Version: 0.5.5
4Synopsis: The Elm language module.
4Synopsis: The Elm language module.
5Description: Elm aims to make client-side web-development more pleasant.
5Description: Elm aims to make client-side web-development more pleasant.
6 It is a statically/strongly typed, functional reactive
6 It is a statically/strongly typed, functional reactive
@@ -22,7 +22,7 @@ Category: Compiler, Language
22Build-type: Simple
22Build-type: Simple
23
23
24Extra-source-files: changelog.txt
24Extra-source-files: changelog.txt
25−Data-files: elm-runtime-0.5.0.2.js
25+Data-files: elm-runtime-0.5.5.js
26Cabal-version: >=1.8
26Cabal-version: >=1.8
27
27
28source-repository head
28source-repository head
elm/src/Parse/Library.hs+3−3
@@ -46,7 +46,7 @@ isOp c = isSymbol c || elem c "+-/*=.$<>:&|^?%#@~!"
46
46
47symOp :: (Monad m) => ParsecT [Char] u m String
47symOp :: (Monad m) => ParsecT [Char] u m String
48symOp = do op <- many1 (satisfy isOp)
48symOp = do op <- many1 (satisfy isOp)
49− guard (op `notElem` [ "=", "..", "->", "--" ])
49+ guard (op `notElem` [ "=", "..", "->", "--", "|", "\8594" ])
50 return op
50 return op
51
51
52arrow :: (Monad m) => ParsecT [Char] u m String
52arrow :: (Monad m) => ParsecT [Char] u m String
@@ -91,9 +91,9 @@ betwixt a b c = do char a ; out <- c
91 char b <?> "closing '" ++ [b] ++ "'" ; return out
91 char b <?> "closing '" ++ [b] ++ "'" ; return out
92
92
93surround a z name p = do
93surround a z name p = do
94− char a ; whitespace ; a <- p ; whitespace
94+ char a ; whitespace ; v <- p ; whitespace
95 char z <?> unwords ["closing", name, show z]
95 char z <?> unwords ["closing", name, show z]
96− return a
96+ return v
97
97
98braces :: (Monad m) => ParsecT [Char] u m a -> ParsecT [Char] u m a
98braces :: (Monad m) => ParsecT [Char] u m a -> ParsecT [Char] u m a
99braces = surround '[' ']' "brace"
99braces = surround '[' ']' "brace"