Commit graph

419 commits

Author SHA1 Message Date
evancz
05cfda7a43 Update the type hints for all, any, show, the new HTTP API, and the new character functions. 2012-10-04 00:55:39 -04:00
evancz
02adbe1e40 Change the type of show. It now produces a String. 2012-10-04 00:54:41 -04:00
evancz
f4344dcb59 Totally redo the HTTP API. Get rid of Maybe in types because the signal filtering functions make them unnecessary. Make requests more flexible with the request function which lets you set the type, url, data, and set request headers. 2012-10-04 00:41:33 -04:00
evancz
6a4cf28866 Add a bunch of functions to classify chars.
Remove an unnecessary `console.log`
2012-10-04 00:39:00 -04:00
evancz
8b72e0db01 Rename forall and exists to all and any. I ended up liking these names better and they do not clash with the potential introduction of forall in types. 2012-10-04 00:37:58 -04:00
evancz
d0bf8667c2 Add better documentation for runtimeLocation. 2012-10-03 15:31:38 -04:00
evancz
b2147418e0 Show version numbers correctly. 2012-10-03 03:17:09 -04:00
evancz
253e768e62 Get runtime location working properly. 2012-10-03 02:47:46 -04:00
evancz
f45433145c Update readme and runtime system. 2012-10-03 02:03:14 -04:00
evancz
c9c17b34ef Rename insideForm to isWithin.
Rename `foldp1` to `foldp'`, I think the previous name suggests different behavior.
Add `foldp1 :: (a -> a -> a) -> Signal a -> Signal a`
Add type hints for all of these functions.
2012-10-02 22:57:52 -04:00
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