Commit graph

402 commits

Author SHA1 Message Date
Evan Czaplicki
4452e4e138 Turn off markdown interpolation for now.
This will of course get turned back on! I don’t want to do it in the
very next release though.
2013-12-10 23:04:27 -08:00
Evan Czaplicki
1fbb635c51 Merge pull request #379 from maxsnew/lazy
Increase sharing in Stream combinators
2013-12-09 17:16:06 -08:00
Max New
16d8753640 Fix iterate with optimal sharing 2013-12-09 17:21:20 -06:00
Max New
12d3cc5e92 Increase sharing in Stream combinators 2013-12-09 16:48:13 -06:00
Evan Czaplicki
3f9170aa00 Merge pull request #378 from maxsnew/lazy
Add Lazy Evaluation/Streams Library
2013-12-09 14:07:48 -08:00
Max New
08b88b7ebb Add Stream docs and fix type of sampleOn. 2013-12-09 15:40:05 -06:00
Max New
4fa228102d Update Lazy docs 2013-12-09 15:19:41 -06:00
Max New
46f3fa1b2c Lazy/Stream API changes 2013-12-09 15:16:04 -06:00
Max New
5bb782af64 Add more Stream functions and start documentation 2013-12-09 01:33:40 -06:00
Max New
d97d54213c Add some basic functions to Lazy library 2013-12-09 00:39:11 -06:00
Max New
9f98ec9b19 Split Streams into separate module and add apply (a la <*>) 2013-12-09 00:23:30 -06:00
Evan Czaplicki
eab9ab6122 Add examples of new sorting functions and fix the typo mentioned in #355 2013-12-08 15:45:26 -08:00
Evan Czaplicki
ccf737e999 Merge pull request #355 from mgold/sort
Add sorting (targeting dev)
2013-12-08 15:18:20 -08:00
Max New
614c8c5108 Add more Stream functions 2013-12-07 14:38:33 -06:00
Max New
c2a6b0d9d0 Add Library for Lazy Evaluation 2013-12-07 14:38:33 -06:00
Max Goldstein
bbdc6760c1 Add sortWith 2013-11-21 16:33:30 -05:00
Max Goldstein
b3c598466b Use Utils.cmp for sorting 2013-11-21 15:29:53 -05:00
Evan Czaplicki
bccfece2c1 Merge branch 'master' into dev 2013-11-19 22:34:08 -08:00
Evan Czaplicki
704da021b0 Fix "dropped" frames for text updates (#224, #339) using @timthelion's insights in #350
* Change the implementation of `notify` so that it does not have a
return value any more.

* Get rid of the only remaning use of the return value of `notify` in
the `every` function.

* Have a "lock" on each round to ensure that no library or runtime
calls `notify` synchronously, causing an update to happen half way
through another update, ultimately leading to a dropped frame.
2013-11-18 17:23:40 +01:00
i-e-b
75ad25b7ee Fix to Json Boolean native constructor 2013-11-15 15:58:16 +00:00
Max Goldstein
beeaa38755 Add sortBy function. 2013-11-13 10:26:24 -05:00
Max Goldstein
03256bc797 Add sort function.
Evan did 95% of the work, but forgot about the F2 wrapper.
2013-11-13 10:25:54 -05:00
timthelion
2d4d1678c3 Update String.elm
You had your types swapped.
2013-11-07 12:51:40 +01:00
Evan Czaplicki
b3d5357287 Rename to findAll and find like everyone expects :/
It's not consistent with `split` but people seem okay with that.

Also make some examples nicer.
2013-11-04 17:06:48 +01:00
Evan Czaplicki
82e9acf16e Change the internal representation of Text
Now generates significantly fewer spans and is a bit faster.
I also removed the `header` function.
2013-11-03 15:20:30 +01:00
Evan Czaplicki
46b9558b1a Get rid of unnecessary logging 2013-11-03 15:11:09 +01:00
Evan Czaplicki
1e1b0c1281 merge find and replace in docs 2013-11-03 01:06:19 +01:00
Evan Czaplicki
ef2b38fe11 Always switch out Text elements 2013-11-02 23:17:29 +01:00
Evan Czaplicki
a24872f330 cosmetic: remove a blank line 2013-11-01 23:51:49 +01:00
Evan Czaplicki
e411990a87 Create a Regex library 2013-11-01 23:51:23 +01:00
Tobias Hermann
1ed37fee60 type annotation of String.isEmpty: "isEmpty : String" => isEmpty : String -> Bool 2013-10-31 15:52:35 +01:00
Tobias Hermann
167298290b type annotation of String.isEmpty: "isEmpty : String" => isEmpty : String -> Bool 2013-10-31 14:25:22 +01:00
Evan Czaplicki
65509d7991 Correct the scaleY function, get rid of a 3x3 matrix in docs, use 3x3 matrices in multiply docs to clarify how two 3x2 matrices can be multiplied 2013-10-31 12:23:42 +01:00
Evan Czaplicki
b89ace01cf Merge branch 'master' into dev 2013-10-31 12:16:14 +01:00
Evan Czaplicki
5edfdb0bdd Merge pull request #307 from Sheeo/transform
Improve Transform2D
2013-10-31 04:12:33 -07:00
Michael Sondergaard
76de6741c3 Use s for scaling variable 2013-10-31 12:01:41 +01:00
Evan Czaplicki
d1af099b33 Merge pull request #315 from thSoft/patch-1
Fix grammar
2013-10-30 08:40:11 -07:00
Dénes Harmath
36fca0bbea Accepted another grammar fix proposal 2013-10-30 16:37:28 +01:00
Evan Czaplicki
5d1ba746ac Merge branch 'master' into dev 2013-10-30 16:34:29 +01:00
Evan Czaplicki
427ac521a3 Hide internal structure of Elements, Forms, and Positions 2013-10-30 16:34:06 +01:00
Dénes Harmath
68101742c9 Fix grammar 2013-10-30 16:19:02 +01:00
Evan Czaplicki
9c9fcc7a1e Actually switch to the new module name 2013-10-29 19:50:55 +01:00
Evan Czaplicki
904c22450b Rename Bits to Bitwise
A substitute for being streetwise
2013-10-29 19:42:04 +01:00
Evan Czaplicki
abf05d70c8 Make explanations a bit more helpful 2013-10-29 19:06:55 +01:00
Evan Czaplicki
2f7739949f Add a library for bitwise operators 2013-10-29 18:47:37 +01:00
Evan Czaplicki
a3ba3d3e2e Move some library functions out of JS and into Elm 2013-10-29 17:16:47 +01:00
Michael Sondergaard
b44a34e484 Unify matrices to 3x2 representation. 2013-10-29 17:05:17 +01:00
Michael Sondergaard
3a02543b26 Add scale and documentation for translation
Express translate in terms of the native matrix method instead.
2013-10-29 16:58:54 +01:00
Michael Sondergaard
a654bfa96b Add scaleX and scaleY 2013-10-29 16:58:31 +01:00
Michael Sondergaard
f0b38aeb3c Add Transform2D translation
I'm unsure of why so much code is commented out in Transform2D.

A more mature version of this module could generally be useful for doing
collision detection/modelling scenegraphs outside of the Collage interface.
2013-10-29 16:57:38 +01:00