Commit graph

1967 commits

Author SHA1 Message Date
Evan Czaplicki
91007fc4f9 Merge pull request #383 from maxsnew/lazy
Add unsafe Stream functions
2013-12-11 23:56:30 -08:00
Evan Czaplicki
01a5b1d8c2 that's not how you spell "high five"! 2013-12-11 23:54:52 -08:00
Evan Czaplicki
6768b0ef7a Get rid of dependency on Text.Read.readMaybe to resolve #382 2013-12-11 18:57:56 -08:00
Max New
3eeefe7141 Add unsafe Stream functions 2013-12-11 19:20:52 -06:00
Evan Czaplicki
1707e52e69 Add documentation for JsonValue 2013-12-11 13:05:31 -08:00
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
d12a744824 Update documentation to be more up to date 2013-12-10 23:04:26 -08:00
Evan Czaplicki
1aa3b76e8e Switch back to stateless API, currently do not want to change this in the next release 2013-12-10 23:04:26 -08:00
Evan Czaplicki
32d162732b Merge pull request #381 from bcdarwin/master
Add check for duplicate constructors within the same unit
2013-12-10 17:48:06 -08:00
Ben Darwin
d1b3db22f2 clean up error reporting 2013-12-10 20:41:06 -05:00
Ben Darwin
55e5c342ce also fix duplicate *type* constructors 2013-12-10 16:36:04 -05:00
Ben Darwin
36b73fe7f5 fix duplicate *data* constructors 2013-12-10 15:58:57 -05: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
92949f9543 Add notes about sorting and laziness 2013-12-09 14:14:04 -08: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
Christian Stork
61b2cd6e40 Fix Keyboard.lastPressed to signal repeated keys 2013-12-04 13:40:13 +01:00
Evan Czaplicki
47c6cbc38f Merge branch 'master' into dev 2013-11-26 00:12:42 -06:00
Evan Czaplicki
9633af6723 Add Generate.Markdown to .cabal file, remove -O2 flag 2013-11-25 23:48:20 -06:00
Evan Czaplicki
bd77cc6e15 Report docs errors to stderr 2013-11-25 23:12:10 -06:00
Evan Czaplicki
e32eab0e62 Merge branch 'master' into dev
Conflicts:
	compiler/Generate/JavaScript.hs
	compiler/Generate/Noscript.hs
	compiler/Parse/Expression.hs
	compiler/SourceSyntax/Expression.hs
2013-11-22 12:22:29 -08:00
Evan Czaplicki
c8643484be Abstract out the code for markdown parsing, making it easier to switch out the implementation 2013-11-22 12:12:22 -08:00
Justin Leitgeb
ae2465c633 Add initial CONTRIBUTING.md 2013-11-22 12:07:52 -05: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
fe047d5156 Merge branch 'master' into dev 2013-11-19 22:40:05 -08:00
Evan Czaplicki
f0d9d3be1d Fix minor indentation issue with eightyCharLines 2013-11-19 22:39:48 -08:00
Evan Czaplicki
bccfece2c1 Merge branch 'master' into dev 2013-11-19 22:34:08 -08:00
Evan Czaplicki
f73a6ff9f9 Add an occurs check to finally resolve #294
Add it in the more clever location suggested by Pottier and Remy. Also
change the style of error messages to get rid of the expected/actual
problem for now, and make hints read more smoothly.
2013-11-19 22:31:38 -08:00
Evan Czaplicki
54a99b7309 Add error and explanation for infinite type aliases 2013-11-19 22:29:25 -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
Evan Czaplicki
a49d381c09 Merge pull request #345 from i-e-b/master
Fix to Json Boolean native constructor
2013-11-18 08:04:22 -08:00
i-e-b
75ad25b7ee Fix to Json Boolean native constructor 2013-11-15 15:58:16 +00:00
Evan Czaplicki
bbede87f1a Merge pull request #338 from jsl/fix_unsafe_io
Remove instance of unsafePerformIO
2013-11-14 07:26:57 -08: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
Justin Leitgeb
8fc72d2b30 Remove instance of unsafePerformIO 2013-11-12 22:22:49 -05:00
Evan Czaplicki
0fcd342b78 Minor reformat of an error message to keep each line under 80 characters 2013-11-11 16:30:48 +01:00
Evan Czaplicki
9d9e9d2388 Just show the value of located things, not the location. 2013-11-11 15:40:51 +01:00