Commit graph

359 commits

Author SHA1 Message Date
evancz
1171a4d4e7 Fix type of middleAt, topLeftAt, etc. 2012-10-02 22:02:50 -04:00
evancz
be8290495f Re-add older runtime, just in case someone needs it between now and incremental release. 2012-10-02 16:00:09 -04:00
evancz
e192d530c7 Ensure that elm-server knows where the elm runtime lives. Now users do not need to worry about that. Update version numbers. 2012-10-02 15:59:06 -04:00
evancz
f190afa8b6 avoid elm-server in README.md for now. Will improve directions soon! 2012-09-29 22:30:29 -04:00
evancz
839d3e281d Add occurs check to unification. 2012-09-29 18:35:45 -04:00
Evan Czaplicki
e2f7aca147 Merge pull request #29 from joeyadams/foldp1
Add variant of foldp whose initial value comes from the source signal
2012-09-29 14:57:00 -07:00
Joey Adams
0dee68605c Add foldp1
foldp1 :: (a -> b -> b) -> (a -> b) -> Signal a -> Signal b

Like foldp, but the initial value is based on the input signal's
initial output.
2012-09-28 22:01:31 -04:00
evancz
c2300be287 Remove file that no one should really see. 2012-09-28 00:53:31 -04:00
evancz
bb1d53de2e add insideForm :: Point -> Form -> Bool function that checks to see if a point is inside of a form. 2012-09-27 17:18:29 -04:00
evancz
eb748ae6df Fix bugs with --make flag. Update new to version number. Make sure that all built-in modules are recognized by the compiler. 2012-09-26 13:29:53 -05:00
evancz
9e82c6b19a Add type hints, update version. 2012-09-18 10:18:49 -05:00
evancz
5b957f2e94 Update changelog.txt 2012-09-16 21:24:47 -05:00
evancz
9fa56a075b Update RTS to match all the js changes. 2012-09-16 15:48:00 -05:00
evancz
4ca6dccaad Update examples for version 0.4 2012-09-16 00:52:07 -05:00
evancz
b3ab4f8c07 Change default font to Helvetica. 2012-09-16 00:51:20 -05:00
evancz
9020b22499 Fix bug in typeface and in makeSpaces. Remove form example so that it is not duplicated. 2012-09-16 00:50:48 -05:00
evancz
f5e3ad4696 Update version number for elm-server. 2012-09-13 21:42:34 -07:00
evancz
36926698ad New version of RTS 2012-09-13 21:31:48 -07:00
evancz
8ac0c81c1c Improve optimizations a bit. The compiler now performs beta reduction in some simple cases. 2012-09-13 21:31:34 -07:00
evancz
8a79164a21 Distinguish between DOM nodes created by Elm and ones imported from JS. 2012-09-13 21:28:16 -07:00
evancz
a66396cc0c Properly escape newlines in Markdown, and add more info to changelog 2012-09-13 12:26:31 -07:00
evancz
9197f15f1a Fix bug in sampleOn. 2012-09-13 12:25:48 -07:00
evancz
bcfdf66ed9 Add images function. 2012-09-13 12:25:14 -07:00
evancz
5fbc042066 Fix size analysis of text in IE and FireFox 2012-09-11 13:57:42 -07:00
evancz
bd9dc475c7 Fix bug in sampleOn which caused it to send two messages per event instead of one. Really bad behavior! 2012-09-11 13:57:21 -07:00
evancz
66dc52d34f Update isClickedOn to work with new graphics system. 2012-09-11 13:56:06 -07:00
evancz
0391c1ce9a Add markdown support. Add minification support. 2012-09-11 02:53:45 -07:00
evancz
38d0e8f2e6 Add support for links and DOM nodes. Fix lots of bugs. 2012-09-11 02:52:03 -07:00
evancz
0e613a1058 Include Graphics.Element by default. Fix bugs for fittedImage and change when the string for video is converted to a JSString. 2012-09-02 00:27:36 -05:00
evancz
f27453e175 Add support for [markdown| anything can go here |] :: Element. Yay! 2012-09-02 00:26:35 -05:00
evancz
2f5d4459ef Fix up graphics libraries:
- All basic elements can now be displayed and updated. Updates no longer rebuild the whole scene; instead they only replace as necessary.
- Add `container` primitive which allows people to position Elements in a more flexible way.
- Collages can now handle sprites, textures, and Elements!

Still need to work on making Signal.Input play nice with the new Graphics libs.
2012-09-01 16:38:09 -05:00
evancz
1501160bac Begin rewrite of rendering engine. 2012-08-31 01:42:33 -05:00
evancz
81d185e3c5 Fix parser for (:) in patterns. Had wrong associativity. 2012-08-25 16:13:45 -05:00
evancz
534dc73ed2 Fix slightly broken constraint generator. 2012-08-25 16:03:11 -05:00
evancz
d51542067a Make pattern matching significantly faster. Whoo! Bump to version 0.4. 2012-08-25 16:02:34 -05:00
evancz
cf011a0ba8 Update Pong source to match blog post. 2012-08-24 13:25:17 -05:00
evancz
5547fb1cfd Update version to fix bug in IE and FF! 2012-08-21 16:08:14 +02:00
evancz
53b2e70afa Make little cosmetic changes. 2012-08-21 15:24:30 +02:00
evancz
b5b87f25c0 Change how some text is centered. 2012-08-20 14:44:46 +02:00
evancz
a53dfdea46 Add scoreboard. 2012-08-18 16:33:38 +02:00
evancz
53c621bd72 Merge branch 'master' of https://github.com/evancz/Elm
Conflicts:
	Examples/elm-js/Pong/Pong.elm
2012-08-18 13:34:55 +02:00
evancz
595ed380e8 Add much better introduction. Part blog post, part game of Pong. 2012-08-18 13:28:01 +02:00
Evan Czaplicki
3f6843df9a Add the word 'overview' 2012-08-17 20:30:37 +03:00
evancz
ee2805a992 Moved comment to beginning to contextualize the program and emphasize design choices. 2012-08-17 19:26:22 +02:00
evancz
d0da29f2a0 Finish up comments for Pong. 2012-08-17 19:05:18 +02:00
evancz
a5b6d4e765 Add Pong project. 2012-08-17 16:38:41 +02:00
evancz
07ff34754a Fix optimization error. 2012-08-14 20:50:03 +02:00
evancz
29cd1355bd Latest js runtime system. 2012-08-14 20:40:50 +02:00
evancz
3584556ccd Insert spaces such that line breaks still happen. Fix string displaying in buttons. 2012-08-14 20:38:48 +02:00
evancz
c402dce192 More bug fixes for string escaping. 2012-08-14 15:07:04 +02:00