evancz
9f47e87bac
Add type hints for new libraries, and fix the types of fps and fpsWhen.
2013-01-14 00:15:14 -08:00
evancz
39e235226e
Ensure that touch listener is detached if it is not used.
2013-01-14 00:14:28 -08:00
evancz
b1d708749e
Add the mergeEither
signal and remove some dead code from Touch.js.
2013-01-13 19:27:55 -08:00
evancz
9b3ff32100
Switch how ADT's are displayed. Should have no visible effect.
2013-01-13 12:21:07 -08:00
evancz
45e865b78b
Add Either library, change Maybe API, and add tap to Touch library.
2013-01-09 02:07:46 -08:00
evancz
c21fec2641
Add the 0.7.1 RTS which includes the new Keyboard and Touch signals.
2013-01-07 00:48:20 -08:00
evancz
c0deb91a57
Get the touch library working, and bump the version number to 0.7.1.
2013-01-07 00:47:16 -08:00
evancz
c7928f231e
Fix bug in Automaton.js
2013-01-07 00:46:29 -08:00
evancz
b6fc63e9c8
Add new keyboard signals:
...
shift, ctrl, space :: Signal Bool
2013-01-06 16:54:11 -08:00
evancz
d4ba8068d5
Ensure that gifs work in collages in all browsers.
...
Add the `arrows` and `wasd` values to the Keyboard library. Makes it way way easier to deal with directional input.
2013-01-06 04:21:29 -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
5e4aa74cfc
Minify RTS
2013-01-03 10:38:55 -08:00
evancz
c57c60269b
Remove some unsafe printing.
2013-01-03 00:31:03 -08:00
evancz
eeb5df4a3a
Fix the Open Street Map example.
2013-01-03 00:30:46 -08:00
evancz
0205998492
Add parsing for record types.
2013-01-03 00:30:28 -08:00
evancz
9ecb6a7052
Simplify code for occurs check.
2013-01-03 00:28:54 -08:00
evancz
6af3eb3f5f
Fix bug with importing DOM nodes.
2013-01-03 00:27:38 -08:00
evancz
e72958a654
Get rid of FrameRate example which has been replaced by fps
function.
2013-01-02 23:46:14 -08:00
evancz
eeeaad8490
Enable record pattern matching in let-expressions, and fix a toJS error in which records added a newline that could cause them to be parsed weirdly by JS.
2012-12-28 05:24:00 -06:00
evancz
cbfbd0a29b
Bump version number to 0.7.
2012-12-26 16:14:24 -06:00
evancz
c231fc35cd
Add ability to add and remove fields from records:
...
{ book - title }
{ book | pages = 100 }
From these we can derive renaming fields and replacing values:
{ book - title | name = book.title }
{ book - title | title = "Harry Potter" }
There is no syntactic short-cut to batch addition and removal of fields in a single expression.
There is already a convenient syntax for record updates added
in a previous push that lets you do batch updates:
{ book | title <- "Steppenwolf"
, author <- "Hermann Hesse" }
2012-12-26 16:07:09 -06:00
evancz
de6cb460cd
Add record modification syntax:
...
{ book | title <- "Harry Potter" }
Allows you to change the type of a field.
2012-12-25 03:45:02 -06:00
evancz
ec94f4ecc5
Add Context module.
2012-12-25 02:40:41 -06:00
evancz
6cc617b0ab
Add line and column number for type errors and "non-exhaustive" errors.
...
Add support for the basics of records:
r = { x = 3, f x = x + 1 }
r.x == 3
map .x [r,r,r] == [3,3,3]
2012-12-25 02:39:18 -06:00
evancz
6443ed9ae7
Merge branch 'master' of https://github.com/evancz/Elm
2012-12-17 20:46:55 -08:00
evancz
fd536b993b
Add the beginning of a touch and Form library.
2012-12-17 20:44:57 -08:00
Evan Czaplicki
e9f5f0c358
Merge pull request #69 from d-snp/cat
...
add shell script to compile core-js
2012-12-16 16:36:10 -08:00
Evan Czaplicki
eb69c9242c
Merge pull request #68 from d-snp/new-happstack
...
use happstack 7.1.1
2012-12-16 16:35:37 -08:00
Evan Czaplicki
c2acf71b1a
Add type hints for (<~) and (~).
2012-12-14 19:59:50 -08:00
Evan Czaplicki
22a63628fe
Add translations for signal binops
2012-12-14 19:55:54 -08:00
Evan Czaplicki
41a383b31c
Add special infix ops for working with signals
2012-12-14 19:51:01 -08:00
Tinco Andringa
9c686708e4
add shell script to compile core-js
2012-12-14 00:19:21 +01:00
Tinco Andringa
e3c7b7d7bb
use happstack 7.1.1
2012-12-14 00:01:55 +01: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
3afe1fb86d
Add Elm.
to List
2012-12-11 23:44:43 -08:00
evancz
60ff703372
Try again to fix bug with readInt
and readFloat
2012-12-11 01:18:27 -08:00
evancz
0059d82d30
Fix minor bug and bump the version number.
2012-12-10 21:48:25 -08:00
evancz
64e88fd24b
Add Game Skeleton for easy game making.
2012-12-08 13:08:47 -08:00
evancz
13e7203393
Fix up helpers in Pong/
2012-12-08 13:01:58 -08:00
evancz
28c3a711ed
New version of Pong. Update version numbers.
2012-12-08 12:53:16 -08:00
evancz
5dcb6f7c31
Add type hints for timestamp
and timeOf
2012-12-03 22:23:32 -08:00
evancz
73f7d7cc9b
Properly escape strings.
2012-12-03 22:21:22 -08:00
evancz
79d9d4c509
Add timestamp
and timeOf
functions to Signal library.
2012-12-03 22:21:00 -08:00
evancz
02cbb61c1c
Update the RTS.
2012-12-01 21:18:46 -08:00
evancz
d15e08075b
Update the Dict library to test new parser and type checker.
2012-12-01 21:18:25 -08:00
evancz
b9d26eeead
Make the Time
type more flexible.
2012-12-01 21:12:51 -08:00
evancz
5c06a73c74
Make fpsWhen slightly more accurate. Change part of the API to be more flexible.
2012-12-01 20:48:46 -08:00
evancz
08e3c514e0
Export average
and Time
library in prelude.
2012-12-01 20:47:30 -08:00
evancz
fbabe4b94f
Remove Date.every
and change weekday
into dayOfWeek
.
2012-12-01 20:46:41 -08:00
evancz
8d7df3d08d
Add average
function and ensure that delay
does not propagate the default value.
2012-12-01 20:45:48 -08:00