evancz
398ef59fe9
Add xor
function.
2013-01-25 11:27:00 -08:00
evancz
d8f8bf5c39
Ensure that touch listener is detached if it is not used.
2013-01-25 11:26:59 -08:00
evancz
589a16cdd0
Add the mergeEither
signal and remove some dead code from Touch.js.
2013-01-25 11:26:58 -08:00
evancz
5bf237d903
* Fix renaming issue with a1
, a2
, etc. as described in [issue 75]( https://github.com/evancz/Elm/issues/75 )
...
* Switch to using $ instead of _ when depriming variables.
* Bump version number
2013-01-05 16:27:36 -08:00
evancz
6ac414c79e
Make changes to get Dict
and Set
working as expected.
...
Add a note to elm-server indicating that you don't need to restart to recompile code.
2012-12-12 22:52:32 -08:00
evancz
0059d82d30
Fix minor bug and bump the version number.
2012-12-10 21:48:25 -08:00
evancz
28c3a711ed
New version of Pong. Update version numbers.
2012-12-08 12:53:16 -08:00
evancz
79d9d4c509
Add timestamp
and timeOf
functions to Signal library.
2012-12-03 22:21:00 -08:00
evancz
08e3c514e0
Export average
and Time
library in prelude.
2012-12-01 20:47:30 -08:00
evancz
7b1a2f446d
Add zip
and zipWith
to Prelude. Fix an oversight in the constraint generator. Upload the elm runtime system.
2012-11-25 11:39:55 -08:00
evancz
2eeac2fd0f
Add guarded definitions. Add whitespace sensitivity for let- and case-expressions.
2012-11-24 20:49:56 -08:00
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