Commit graph

11 commits

Author SHA1 Message Date
evancz
bdb898df65 Rename libraries, dropping prefixes. This probably introduces some bugs. 2012-10-15 23:03:14 -07:00
evancz
20f5e0edfc Add atan2. 2012-10-04 01:49:09 -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
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
6c90abaf3d Add comparison functions and some (int <-> float) functions. 2012-07-28 20:31:57 +02:00
evancz
0b99ea4def Add div function for integer division. 2012-07-17 18:53:48 +00:00
evancz
1430e8f467 Correct error with sampleOn function. 2012-06-29 11:29:41 -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