Evan Czaplicki
519484d85a
Add the toList and fromList functions
2013-10-22 10:09:41 +02:00
Evan Czaplicki
abbcf3c13d
Add append and concat functions, organize docs better
2013-10-22 06:54:09 +02:00
Evan Czaplicki
99bd1000c2
Fix issues with improperly created characters
2013-10-20 23:15:30 -04:00
Evan Czaplicki
f43af4bbd1
Use faster loop for floatList
and adjust indentation
2013-10-17 13:40:28 -04:00
Evan Czaplicki
d0232b45d2
Fix behavior of pad
2013-10-16 01:55:20 -04:00
Evan Czaplicki
24da7112a9
Drop repeats by default on arrows, directions, wasd, and isDown
2013-10-14 13:33:48 -04:00
Evan Czaplicki
a29a1fd558
Fix mouse and touch tracking for embedded Elm programs, #291
2013-10-13 19:10:02 -04:00
Evan Czaplicki
ffd088bfae
cosmetic: switch to 4 spaces as indent
2013-10-13 17:58:52 -04:00
Evan Czaplicki
f34b150a5e
cosmetic: indent "properly"
2013-10-13 17:40:59 -04:00
Evan Czaplicki
fb16adb92a
Fix the problem with split
from issue #289
2013-10-11 22:04:53 -04:00
Evan Czaplicki
ec581a9ef1
Properly join Text
2013-10-10 14:29:47 -07:00
Evan Czaplicki
4a914a497a
Fix append on text
...
string literals have type string, whereas string objects are instances
of String
2013-10-10 14:25:49 -07:00
Evan Czaplicki
2c080b6b0d
Mark Char and Text values to distinguish them from Strings
...
Also get rid of the unwords and unlines functions which are confusing
and can more easily be reproduced with (join " ") and (join "\n")
2013-10-10 13:57:33 -07:00
Evan Czaplicki
20bbb71359
cosmetic: fix indentation
2013-10-10 13:57:33 -07:00
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
81cbe9f147
Add ways to get substrings
2013-10-06 15:51:08 -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
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
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
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
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
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
46b988b34f
Error on mod zero
2013-09-22 10:44:51 -04:00
Evan Czaplicki
a633a5d7d3
Make sure text boxes are given proper dimensions after hot-swapping
2013-09-03 11:25:58 -07:00
Evan Czaplicki
e8dffac17b
Fix indentation
2013-09-01 22:20:08 -07:00
Evan Czaplicki
b4e0196c7f
Factor out a commonly used expression
2013-09-01 22:20:07 -07:00
Evan Czaplicki
3fe9e2470c
Fix indent
2013-09-01 22:20:07 -07:00
Evan Czaplicki
6512bf944b
Indent properly
2013-09-01 22:20:07 -07:00
Alexander Noriega
074bb08f8e
Rename replicate to repeat.
2013-08-31 21:23:23 -03:00
Alexander Noriega
d6e7172f45
Define convenience function List.replicate.
2013-08-31 16:29:35 -03:00
Evan Czaplicki
4722efeb80
Move native version of Matrix2D
2013-08-19 11:56:27 -07:00
John P Mayer Jr
b8a270e9d4
toCode needs to use uppercase, since keyboard separates key and modifier
2013-08-15 06:09:13 +00:00
John P Mayer Jr
6821a350f4
fixed obvious === bug
2013-08-15 05:55:48 +00:00