Commit graph

16 commits

Author SHA1 Message Date
evancz
0735c6bdc6 Fix above and below to work properly with the new parser, and add a slightly better error message for runtime issues. 2012-06-10 04:13:00 -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
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
12384b8cf8 Move elm-mini.js to root because it is needed by all projects. This should also fix a link in the README.md. 2012-05-29 14:48:30 -05:00
Vincent Ambo
f2e8703a2b * restructuring, part #1
I am splitting the elm package up into several packages, elm itself
which exports the Language.Elm* modules and builds the compiler
executable, elm-server which contains the standalone, Happstack-based
Elm server and elm-yesod, which provides the generateWidget function
for using Elm together with Yesod.
2012-05-28 16:43:56 +02:00
evancz
4546c0b6e8 Minified elm-mini.js 2012-05-23 17:27:39 -04:00
evancz
e33d3290e3 Introduce basic optimizations.
Reduces the size of string-heavy code dramatically! 70% decrease in the
size of the the elm-lang.org home page.
2012-05-22 18:07:21 -04:00
evancz
3a83d69168 Correct errors with mod function. 2012-04-30 23:13:35 -04:00
evancz
e87d8c4861 Include changes to update, mod, and rem into runtime system. 2012-04-30 21:58:25 -04:00
evancz
cdd1a897bb Improve error reporting very slightly. Add Mouse.clickedOn function. 2012-04-30 17:05:34 -04:00
evancz
bc78002238 Add Input.button for form submission. 2012-04-29 20:55:29 -04:00
evancz
75ce10de64 Fix subtle signal update bug. Lift nodes previously short-circuited when one input changed rather than updating all inputs. 2012-04-29 15:08:30 -04:00
evancz
604cb183c4 Add Maybe datatype. Add "gets" and "posts" to HTTP library. Correct error with (/=) operator. 2012-04-23 15:52:14 -04:00
evancz
191f3d8351 Add "Response" datatype to HTTP library. elm-mini.js was changed accordingly. Add bash file to concatenate all js files. 2012-04-21 22:00:13 -04:00
evancz
a587ff5132 Initial commit. 2012-04-19 02:32:10 -04:00