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
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
66dc52d34f
Update isClickedOn
to work with new graphics system.
2012-09-11 13:56:06 -07:00
evancz
38d0e8f2e6
Add support for links and DOM nodes. Fix lots of bugs.
2012-09-11 02:52:03 -07:00
evancz
1501160bac
Begin rewrite of rendering engine.
2012-08-31 01:42:33 -05: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
evancz
03245c286a
Fix foldr1 bug (wrong base case). Reveal isClickedOn
in Signal.Mouse. Bump version number.
2012-07-05 10:21:27 -05:00
evancz
1430e8f467
Correct error with sampleOn
function.
2012-06-29 11:29:41 -05:00
evancz
913aaf0509
Set margin and padding to 0 explicitly.
...
Move JSElementToElement (and vice-versa) to Foreign.JavaScripct.Experimental.
Add clicks and sampleOn functions.
2012-06-29 10:21:06 -05:00
evancz
0934ab6e72
Add built-in event handlers (elm_log, elm_title, elm_redirect) and add Data.List.last
2012-06-28 12:57:17 -05:00
evancz
9332a8a152
Update .js files for Foreign.JavaScript and new Signal operators.
2012-06-28 03:50:16 -05:00
evancz
248946f007
Create Prelude module which exports a bunch of List functions. Add take
and drop
to Data.List. Ensure that prelude is automatically imported, even if it is not listed.
2012-06-20 22:37:28 -05:00
evancz
980c50bb4b
Add Keyboard.Raw, Data.Char, and Data.Maybe libraries.
2012-06-11 06:14:19 -05: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
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
ff3d6ec6cb
Add all core JavaScript libraries.
2012-04-19 23:10:25 -04:00