Commit graph

1537 commits

Author SHA1 Message Date
Evan Czaplicki
df67fe5ec2 Start on the String library 2013-10-02 01:03:03 -07:00
Evan Czaplicki
ab8ff11960 Get rid of split and make repeat significantly faster 2013-10-02 01:02:51 -07:00
Evan Czaplicki
3459672725 merges was right biased by accident 2013-09-30 02:08:51 -07:00
Evan Czaplicki
b40f2958d4 New convention for storing module values, fixes bug
Before it was not possible to add values to anything except leafs of
the namespace structure.
2013-09-30 01:32:27 -07:00
Evan Czaplicki
2cb4fd8973 Merge branch 'dev' of https://github.com/evancz/Elm into dev 2013-09-30 01:06:33 -07:00
Evan Czaplicki
dcbe2fc245 Change the format of module instantiation
Currently, it's only possible to create modules at the leafs of the
namespace structure. This CL lifts that restriction.

Get rid of "use strict" in many cases.
2013-09-30 00:44:31 -07:00
Evan Czaplicki
24e5df478e Merge pull request #273 from mgold/dev
Fix runtime error with Random.float.
2013-09-29 18:03:39 -07:00
Evan Czaplicki
d6c8ecd454 reorder things and make the help flag nicer 2013-09-29 17:37:45 -07:00
Max Goldstein
0f182c653d Fix runtime error with Random.float.
Rename JS function to avoid conflicting with reserved words, as enforced by
commit 40ea6df24 (found with git bisect).
2013-09-29 10:36:41 -04:00
Evan Czaplicki
f72e97ab7d Remove generateHtml, which is dead code 2013-09-28 15:39:52 -04:00
Evan Czaplicki
66c288e4ba Remove minification from compiler.
Unix philosophy and all that.
2013-09-28 15:36:02 -04:00
Evan Czaplicki
de232b677e Use ByteStrings to make writing html and js a bit faster 2013-09-25 14:25:54 -04:00
Evan Czaplicki
045852a0c5 Move function around in docs 2013-09-24 23:17:56 -04:00
Evan Czaplicki
d0df030c7d Merge pull request #268 from mgold/dev
Somehow isEmpty got dropped from the docs.
2013-09-24 20:16:23 -07:00
Max Goldstein
fa52b0f433 Somehow isEmpty got dropped from the docs. 2013-09-24 09:17:03 -04:00
Evan Czaplicki
d4def20462 Make sure that createDirectoryIfMissing is called for included js files
All responsibility falls on @seliopou :P
2013-09-23 16:24:45 -04:00
Evan Czaplicki
017f96b522 Fix issue with imported reserved names from #214 2013-09-22 17:40:10 -04:00
Evan Czaplicki
46b988b34f Error on mod zero 2013-09-22 10:44:51 -04:00
Evan Czaplicki
c712f73822 Merge pull request #261 from maxsnew/dict
Fix the Dict Library
2013-09-22 07:24:43 -07:00
Evan Czaplicki
c2e13665f6 Merge pull request #266 from jsl/fix_build_for_cabal_1_18
Fix cabal configure in Cabal version 1.18.
2013-09-22 07:18:00 -07:00
Justin Leitgeb
6357e33042 Fix cabal configure in Cabal version 1.18.
Prior to this commit the configure command fails on Cabal 1.18 with the
following error:

    Setup.hs:91:5:
        `libraryConfig' is not a (visible) constructor field name

    Setup.hs:92:5:
        `compBuildOrder' is not a (visible) constructor field name

    Setup.hs:93:5:
        `executableConfigs' is not a (visible) constructor field name

    Setup.hs:93:57: Not in scope: `executableConfigs'

This commit removes `filterLBI` in Setup.hs that called functions that have been
removed from Cabal. Deleting this function shouldn't affect compilation since it
seems to be unused anyway: `filterLBI`, was added in commit 14e32ad on Thu Mar
21 2013 and the only reference to it was removed on Sun Jul 28 in commit
0a6bd8bd96.

After this change elm compiles for me on Cabal 1.18.0 and 1.16.0.
2013-09-21 16:52:01 -05:00
Max New
f196eace07 Remove unused code in Dict library. 2013-09-18 01:49:23 -07:00
Max New
9523a81704 Dict: Implement remove. 2013-09-18 01:49:07 -07:00
Evan Czaplicki
811594dbc5 Merge pull request #259 from maxsnew/dev
Fix Function Application Code Generation Bug for >=10 Arguments
2013-09-17 07:54:58 -07:00
Max New
3783f2646c Fix function application code gen bug for >=10 arguments. 2013-09-16 23:47:15 -07:00
Evan Czaplicki
d94e218fd1 Fix JS generation for infix ops with dots 2013-09-15 18:53:13 -07:00
Evan Czaplicki
c2eecc2084 Properly parse all user-defined infix declarations 2013-09-15 14:39:56 -07:00
Evan Czaplicki
a40cd3cc06 Make the build process look nicer 2013-09-15 14:39:56 -07:00
Evan Czaplicki
11f5f5263c Actually use infixes in parser 2013-09-15 14:39:55 -07:00
Evan Czaplicki
37f1be6d79 Add fixities to module interfaces 2013-09-15 14:39:55 -07:00
Evan Czaplicki
fb64557f75 Switch format of OpTables, and add iParse that takes a table 2013-09-15 14:39:55 -07:00
Evan Czaplicki
d71b957086 Merge pull request #236 from Apanatshka/dev
Rewrote Automaton library
2013-09-14 02:00:08 -07:00
Jeff Smits
befbaabedb Renamed rewritten Automaton lib to AutomatonV2, checked out Automaton lib from before rewrite. 2013-09-14 10:30:29 +02:00
Evan Czaplicki
ba7bd386ee It's 2013 everyone! 2013-09-13 12:09:10 -07:00
Evan Czaplicki
ec8e787f0d Correct optimization of if expressions 2013-09-13 01:05:35 -07:00
Evan Czaplicki
872d9ac8c6 put module def in the correct order 2013-09-12 14:35:54 -07:00
Evan Czaplicki
2925a6019e Make order of functions and section headers more friendly 2013-09-12 14:34:23 -07:00
Evan Czaplicki
e3032ab664 Actually add the docs 2013-09-12 14:28:23 -07:00
Evan Czaplicki
ab7a1d74ce Merge pull request #246 from jsl/update_automaton_docs
Convert Automaton docs
2013-09-12 14:27:40 -07:00
Evan Czaplicki
9e17f13ffa Convert to new format 2013-09-12 14:00:29 -07:00
Evan Czaplicki
d0b980c33d actually document the function 2013-09-12 13:10:22 -07:00
Evan Czaplicki
c6a9aa397c Convert to new docs format 2013-09-12 13:07:38 -07:00
Evan Czaplicki
5e9c9933d4 Update to new doc format 2013-09-12 12:55:43 -07:00
Evan Czaplicki
1fddfaabae Fix position of module docs 2013-09-12 12:52:48 -07:00
Evan Czaplicki
5ca5364371 Make the types of colors line up nicer in documentation 2013-09-12 12:45:10 -07:00
Evan Czaplicki
4926d0773e Actually add content 2013-09-12 12:34:44 -07:00
Evan Czaplicki
2a18fb6302 Convert more libraries to the new doc format 2013-09-12 12:11:35 -07:00
Evan Czaplicki
1f10f8d4a5 Remove docs for things that are not in this library 2013-09-11 19:24:33 -07:00
Evan Czaplicki
ada499a7df Minor fixes in documentation 2013-09-10 19:22:52 -07:00
Evan Czaplicki
928548e678 Start exporting docs.json again 2013-09-10 19:22:33 -07:00