Commit graph

552 commits

Author SHA1 Message Date
evancz
5349b404f9 Merge branch 'master' of https://github.com/evancz/Elm 2013-02-09 13:02:59 -08:00
evancz
50ddf4cddc Make sure that variables generated during parsing are less likely to overlap. This is not a pretty fix, but it is better than the previous system. 2013-02-09 13:02:24 -08:00
Evan Czaplicki
ae2abc186e Merge pull request #95 from vbychkovsky/master
Fixed elm-happstack examples
2013-02-09 10:49:40 -08:00
evancz
6d8a50d326 Fix the type of Either, addressing copy-paste error. 2013-02-09 10:45:16 -08:00
evancz
dd9d219655 Begin upgrading the List library. It is not complete though. List.js should be the final authority on what is native and what is not. 2013-02-08 22:17:39 -08:00
Vladimir Bychkovsky
1c918a7053 Merge https://github.com/evancz/Elm 2013-02-08 13:22:53 -05:00
Vladimir Bychkovsky
d813e0589a serving elm-runtime locally (using a fixed path to avoid monads) 2013-02-08 13:19:14 -05:00
Vladimir Bychkovsky
c954a0fcd8 Updated strings to refer to Happstack instead of Yesod 2013-02-08 12:13:34 -05:00
Vladimir Bychkovsky
149e91eb2a Fixed splicing and removed "box" + minor other changes 2013-02-08 12:07:44 -05:00
evancz
43fd6c4326 Properly resolve cyclic dependencies. 2013-02-08 01:33:21 -08:00
evancz
a8850d62df Add type annotations to the Set library. 2013-02-07 20:23:25 -08:00
Vladimir Bychkovsky
13a38d97c3 minor fix to clock 2013-02-07 23:01:23 -05:00
Vladimir Bychkovsky
e0d565005a updated syntax in the mouse example 2013-02-07 22:18:44 -05:00
evancz
c02228fbd0 Merge branch 'master' of https://github.com/evancz/Elm 2013-02-07 10:55:39 -08:00
evancz
cdecb5bf30 Update the list of built-in modules. 2013-02-07 10:55:08 -08:00
evancz
4858cfa8d8 Fix a messed up type annotation in Dict.elm. 2013-02-07 10:54:47 -08:00
evancz
90304e69fc Add type annotations to Either. 2013-02-07 10:54:21 -08:00
Evan Czaplicki
6ce22a8ec6 Merge pull request #92 from vbychkovsky/master
Getting elm-happstack to work... [ still broken ]
2013-02-07 10:44:49 -08:00
Vladimir Bychkovsky
33831dba83 broken: only fixed some of the bugs 2013-02-07 10:35:14 -05:00
Vladimir Bychkovsky
cb4d4d9668 updated runtime URL, added a comment about vars 2013-02-07 10:25:47 -05:00
evancz
3c245ed612 Fix bug with code that ensures that type annotations are right above their corresponding definition. Due to a lack of parens, the check only worked with one type annotation. 2013-02-07 01:22:14 -08:00
evancz
ecc49cacea Split the alias code into its own file. Add checks for duplicate definitions, bad order of definitions, and type aliases without enough arguments 2013-02-07 00:17:23 -08:00
evancz
2bfe9ca059 Allow record extension in types. 2013-02-07 00:15:15 -08:00
evancz
67503cef7d Add dealiasing for Strings 2013-02-06 10:30:25 -08:00
evancz
b2a7bd1c6e Implement type aliases. 2013-02-06 03:04:55 -08:00
evancz
1848c9542b Allow type annotations for infix operators. 2013-02-05 22:27:12 -08:00
evancz
e0b7d2668e Add some type annotations to Automaton.elm 2013-02-05 22:26:52 -08:00
evancz
55b3d3910d Correct the associativity of (::) and ensure that JS is generated properly for (::). 2013-02-05 22:26:22 -08:00
evancz
6b2b19d217 Add type annotations to the Dict library to test functionality and speed of type annotations. Shows dramatic speed improvement! 2013-02-05 03:22:02 -08:00
evancz
7d50769c31 Make type annotations work properly. Refactor such that they speed up type checking dramatically. 2013-02-05 03:20:55 -08:00
evancz
0ec1cf3e10 Switch to the new cons (::) in parse library. 2013-02-05 03:19:35 -08:00
evancz
021a27cc39 Add support for type annotations. Remaining bugs include String is not de-aliased and uses of the cons operator have not yet been switched over to the new (::) syntax. 2013-02-04 02:56:22 -08:00
evancz
b4dba5ff91 Migrate type annotations to more JS files. 2013-02-03 20:13:08 -08:00
evancz
edb65fc865 Add WebSockets and function composition to the change log. 2013-02-03 02:43:45 -08:00
evancz
86f2e33949 Add support for using ∘ for function composition. 2013-02-03 02:40:36 -08:00
evancz
f788fd0ec2 Add xor and findNumber to the type hints. 2013-02-03 02:39:42 -08:00
evancz
984e3b5b4b Merge branch 'master' of https://github.com/evancz/Elm 2013-02-03 02:15:40 -08:00
Evan Czaplicki
5fea39ccf3 Merge pull request #89 from johnpmayer/topic/JSON_and_Mario
Changed type signature of JSON.fromString; added multiplayer mario example
2013-02-03 01:32:28 -08:00
John P Mayer Jr
be406f0d44 local ignore file 2013-02-02 19:57:44 -05:00
John P Mayer Jr
40c1cfa81a Changed type signature of JSON.fromString; added multiplayer mario example 2013-02-02 19:37:05 -05:00
evancz
5dadeee03e Fix the equality checker. 2013-02-01 10:27:17 -08:00
evancz
f15dbef968 Switch away from Object.create which was actually extremely slow given the particular way it was used. 2013-01-31 00:42:46 -08:00
evancz
51accf643d Change name of WebSocket.send to WebSocket.open.
Begin adding documentation to raw JS files.
2013-01-30 19:47:29 -08:00
evancz
cd3571976c Merge branch 'master' of https://github.com/evancz/Elm 2013-01-30 03:57:15 -08:00
evancz
ea8ff3835e Make record extension more concise. 2013-01-30 03:56:21 -08:00
evancz
d0dad209a4 Remove some silly comments that Google Closure had me put in. 2013-01-30 03:55:10 -08:00
evancz
62b344c2a1 Attempt a WebSockets library. 2013-01-30 03:54:49 -08:00
evancz
8795bae3ef Begin adding some type annotations. 2013-01-30 03:54:09 -08:00
Evan Czaplicki
6ec11788d8 Merge pull request #82 from dobesv/patch-throws
Patch some more cases of throwing a string to throw new Error(...)
2013-01-29 22:11:39 -08:00
Dobes Vandermeer
30319a3425 And a few more places with bad throws. 2013-01-29 12:47:55 -08:00