evancz
f710b07dfd
Allow pattern matching on ADTs that are not surrounded by parentheses.
2012-06-10 00:29:41 -05:00
evancz
6075cc8358
Allow for variable names with single quotes in them.
2012-06-10 00:09:45 -05:00
evancz
375003e9be
Enable assignment of ADTs. I.e. let (x,y) = pos in ...
or let (x:xs) = lst in ...
2012-06-10 00:08:55 -05:00
evancz
ad569150cb
Merge branch 'master' of https://github.com/evancz/Elm
2012-06-09 23:22:04 -05:00
evancz
6940dddd71
Rewrite parser. Provides much better error messages and pattern matching in anonymous functions.
2012-06-09 23:21:16 -05:00
evancz
e82cf70ea4
Merge branch 'master' of https://github.com/evancz/Elm into ParserRewrite
2012-06-09 23:13:59 -05:00
evancz
c131d882df
Merge branch 'master' of https://github.com/evancz/Elm
2012-06-09 23:11:03 -05:00
evancz
8aa49ebba4
Bump version number to depend on latest build of Elm.
2012-06-09 23:10:17 -05:00
evancz
d36cdba32a
Fix version number.
2012-06-09 23:06:02 -05:00
evancz
110944c454
Fix bugs in parser. Also adds pattern matching in anonymous functions. Still need to work on error messages though.
2012-06-09 23:05:16 -05:00
evancz
c6a5ef4a4d
Many bug fixes for new parser. Mainly dealing with spacing issues which cause botched parses.
2012-06-09 11:47:56 -05:00
evancz
42b364d623
Latest updates. Needs to be debugged.
2012-06-09 11:13:10 -05:00
evancz
d4c86ffe15
Adjust .cabal file for the new parser code.
2012-06-09 02:13:21 -05:00
evancz
8805c689f0
Total rewrite of the parser. Removes dependency on my custom parser combinators library, and as a result, produces much better error messages. Only partially complete right now.
2012-06-09 02:10:31 -05:00
Evan Czaplicki
47383497ca
Update master
2012-06-08 05:02:54 -05:00
evancz
64c880c45b
Bug fix / significant change in how updates are made. When a stateful signal was used in multiple places, it was updated multiple times. This change fixes that problem.
2012-06-08 00:54:22 -05:00
evancz
8c05cc18de
Remove console.log
test from fittedImage
function.
2012-06-07 16:40:21 -05:00
evancz
af0d82a94b
Fix spacing on a couple lines.
2012-06-07 16:35:16 -05:00
evancz
4c9c06e7e6
Add fittedImage :: Int -> Int -> String -> Element
which displays an image fitted to a particular set of dimensions. If the desired aspect ratio is different than the original, the image will be cropped and centered as necessary to fill the desired dimensions.
2012-06-07 16:34:48 -05:00
evancz
524b30bf58
Remove -Wall for now. Best to turn on for development, not so nice for end users.
2012-06-02 16:02:32 -05:00
Evan Czaplicki
c284e4fcd4
Merge pull request #20 from tazjin/master
...
* small documentation formatting fix
2012-06-02 14:01:37 -07:00
Vincent Ambo
696f8a9b02
* small documentation formatting fix
2012-06-02 23:00:24 +02:00
evancz
5dada7dfe0
Bump version number.
2012-06-02 15:53:43 -05:00
evancz
fa502cd620
Merge branch 'master' of https://github.com/evancz/Elm
2012-06-02 15:45:45 -05:00
evancz
b4d56e01f4
Fix compilation error. JS was being run through the Elm compiler.
2012-06-02 15:45:13 -05:00
Evan Czaplicki
ab43b1d2cc
Merge pull request #19 from tazjin/master
...
* fixed script position constraints
2012-06-02 13:25:20 -07:00
Vincent Ambo
09ac4efb59
* fix for script position
...
Added a second (private) function widgetBody which does not insert the
Dispatcher.initialize(); function.
This is a necessary change to allow the generated Javascript code to
reside in the body tag instead of the head tag.
2012-06-02 21:56:15 +02:00
Evan Czaplicki
2cfa28917a
Update README.md
2012-05-31 16:49:22 -05:00
Evan Czaplicki
e7734868d5
Update README.md
2012-05-31 16:39:48 -05:00
Evan Czaplicki
961e7151f9
Update README.md
2012-05-31 13:20:50 -05:00
Evan Czaplicki
8a7136abce
Add information on Elm + Haskell.
2012-05-31 13:18:14 -05:00
Vincent Ambo
38b4894045
* updated elm-yesod example for elm-yesod 0.1.2
2012-05-31 14:17:37 +02:00
evancz
2267cd20d7
Get rid of warnings and update the version numbers in Compiler.hs and Server.hs. Get .cabal up to date for both packages.
2012-05-30 17:01:54 -05:00
Evan Czaplicki
b400d8b510
Merge pull request #18 from tazjin/master
...
* moving elm-yesod to it's own repository
2012-05-30 13:58:59 -07:00
Vincent Ambo
43a4597d99
* moving elm-yesod into its own repository ( tazjin/elm-yesod)
2012-05-30 22:54:52 +02:00
evancz
29dfd5ace7
Merge branch 'master' of https://github.com/evancz/Elm
2012-05-30 15:53:47 -05:00
evancz
e68982f50a
Add a note about Elm's online examples in the docs.
2012-05-30 15:53:08 -05:00
Evan Czaplicki
0275d1756b
Merge pull request #17 from tazjin/master
...
* tying elm-yesod to elm 0.1.2
2012-05-30 13:50:06 -07:00
Vincent Ambo
f2b2744ec7
* tying elm-yesod to elm 0.1.2
2012-05-30 22:47:54 +02:00
Evan Czaplicki
a333f7ece9
Merge pull request #16 from tazjin/master
...
* added a link to the Examples in the Language.Elm Haddocks
2012-05-30 13:25:56 -07:00
Vincent Ambo
64e47b7fa7
* documentation link to the examples
2012-05-30 22:24:33 +02:00
Evan Czaplicki
2abbbe5f0b
Merge pull request #15 from tazjin/master
...
* new Shakespearean Elm templates
2012-05-30 13:06:44 -07:00
Vincent Ambo
58a6eb6a3f
* ElmSource instance for strict text
2012-05-30 21:52:05 +02:00
Vincent Ambo
231bedd041
* updated documentation
2012-05-30 21:49:46 +02:00
Vincent Ambo
c6f9c1804c
* updated elm-yesod example (URL interpolation)
2012-05-30 21:33:19 +02:00
Vincent Ambo
b64f12fdf4
* removed undefined instance
2012-05-30 21:22:13 +02:00
Vincent Ambo
51f137701d
* specific imports
2012-05-30 21:20:48 +02:00
Vincent Ambo
3d4bbeb84c
* updated elm-yesod for URL interpolation
...
- An instance for ElmSource (urlRenderFn, url -> Elm) has been added.
- elm-yesod's elmWidget function now supports URL interpolation, it
returns a widget in the GHandler monad and needs to be used
differently. The elm-yesod example has not yet been updated.
2012-05-30 21:17:58 +02:00
Vincent Ambo
aab25b8356
* moved ElmUrl to elm-yesod (it's different in Happstack web-routes)
2012-05-30 20:28:57 +02:00
Vincent Ambo
4dd5937996
* updated elm-happstack example
2012-05-30 20:05:08 +02:00