Commit graph

1671 commits

Author SHA1 Message Date
Evan Czaplicki
0b11d4f0bd Merge pull request #281 from mgold/dev2
Random.floatList : Signal Int -> Signal [Float]
2013-10-07 19:52:25 -07:00
Max Goldstein
c99d7d72d5 Preallocate array per Spirros.
Need to specify indices explictly, as push will not overwrite the initialized
values but instead appends on to the end.
2013-10-07 21:35:49 -04:00
Evan Czaplicki
cc5295da29 Fix string conversion problems 2013-10-06 17:50:09 -07:00
Evan Czaplicki
efe8883ea6 Git rid of unhelpful subheadings 2013-10-06 16:00:05 -07:00
Evan Czaplicki
0828c9ead3 Organize the docs into more reasonable sections 2013-10-06 15:57:35 -07:00
Evan Czaplicki
81cbe9f147 Add ways to get substrings 2013-10-06 15:51:08 -07:00
Evan Czaplicki
74a13f59b5 Add basics of documentation and start using pad as in implementation 2013-10-06 14:33:39 -07:00
Evan Czaplicki
cfe1302e82 Add and rename functions
use the term "pad" to add characters
add ways to search for substrings
read ints and floats
2013-10-06 14:25:29 -07:00
Evan Czaplicki
88aa9d375f Take split function out of docs 2013-10-06 11:34:06 -07:00
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