Commit graph

17 commits

Author SHA1 Message Date
evancz
e85f31fda5 New way to import that does not clutter global namespace. Switch uses of Nothing and Just to simpler expressions.
Fix IE9 bug due to `console.log`.
2012-11-20 23:18:32 -08:00
evancz
f508072988 Updates to get rid of closure compiler errors. 2012-11-14 00:06:22 -08:00
evancz
ede839f787 Add new signal primitives. 2012-11-13 21:31:06 -08:00
evancz
e52ece9b73 Get rid of Graphics module prefix. 2012-10-22 00:17:51 -07:00
evancz
dc0d9a2ba3 Add the readInt and readFloat functions. 2012-10-21 04:53:47 -07:00
evancz
7c319fe4c5 Rewrite core-js to remove prefixes and change global Elm prefix from ElmCode to Elm. 2012-10-16 22:02:35 -07:00
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