Evan Czaplicki
0d5f1fe2d2
Fix fast repeat
2013-10-06 11:00:53 -07:00
Max Goldstein
4a93227f0b
Random.floatList : Signal Int -> Signal [Float]
...
This version has been updated to work with b40f2958d4
.
2013-10-06 10:26:28 -04:00
Evan Czaplicki
de52caca8e
Add --src-dir flag
...
Can be used multiple times. Makes it possible to have complex directory
structure without cluttering up module names in Elm files.
2013-10-05 16:12:25 -07:00
Evan Czaplicki
a505f7e030
indent properly
2013-10-04 15:31:03 -07:00
Evan Czaplicki
51821fccfd
Make sure slashes get converted first so that they don't get added accidentally for other escaped characters
2013-10-04 11:52:16 -07:00
Evan Czaplicki
f7ef0d8dc2
Get rid of comments from when emacs could not figure out syntax highlighting
2013-10-04 11:41:11 -07:00
Evan Czaplicki
1f5c0373a5
Take out special case for [Char] in show
2013-10-04 11:40:46 -07:00
Evan Czaplicki
cbd136dbf6
Use JS.fromList and JS.toList when appropriate
2013-10-04 11:07:40 -07:00
Evan Czaplicki
af54dd33db
Correct map and filter
2013-10-04 10:56:34 -07:00
Evan Czaplicki
59445e197a
Fix string reversal
2013-10-04 10:53:34 -07:00
Evan Czaplicki
29aa809504
Add length
to the String library
2013-10-04 09:58:37 -07:00
Evan Czaplicki
ea0679463f
Merge branch 'fast-strings' into dev
2013-10-03 23:55:02 -07:00
Evan Czaplicki
385f400269
Get the String module working properly
2013-10-02 17:41:58 -07:00
Evan Czaplicki
0703f48a89
Fix some string conversions
2013-10-02 17:37:07 -07:00
Evan Czaplicki
88680c8bc9
Generate native JS strings for Elm Strings
2013-10-02 16:56:14 -07:00
Evan Czaplicki
958fb1c896
Treat strings like any other pattern literal
2013-10-02 16:55:46 -07:00
Evan Czaplicki
dce5e3eade
Add String as an appendable type
2013-10-02 16:04:30 -07:00
Evan Czaplicki
402f048bc9
Make the module docs parse properly
2013-10-02 15:57:26 -07:00
Evan Czaplicki
efb30dd648
Properly import the Maybe type
2013-10-02 15:57:12 -07:00
Evan Czaplicki
57e7217488
Get rid of unnecessary imports
2013-10-02 15:57:01 -07:00
Evan Czaplicki
76b2e56981
Add Strings as a primitive in the compiler
2013-10-02 15:56:43 -07:00
Evan Czaplicki
51413f92e3
Add String as a proper Elm library, remove alias to [Char]
2013-10-02 15:21:00 -07:00
Evan Czaplicki
172884b594
Continue filling out the string library
2013-10-02 15:06:22 -07:00
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