Commit graph

2134 commits

Author SHA1 Message Date
Evan Czaplicki
9dd5dff279 Make AST more general and try to give its phases better names
Also change the constructors for the Pattern ADT
2014-02-10 00:17:33 +01:00
Evan Czaplicki
594ed1988a Get rid of unused module 2014-02-10 00:08:05 +01:00
Evan Czaplicki
ce073551ac Minor style change 2014-02-09 14:57:35 +01:00
Evan Czaplicki
458bf2b122 Minor style improvements, switch to using helper function 2014-02-09 14:23:10 +01:00
Evan Czaplicki
f51ddf9e4e Fix stupid error in Bitwise library 2014-02-08 19:42:44 +01:00
Evan Czaplicki
c4628749e1 Fix issue #491
contents of Maybe were not converted to JS on export
2014-02-08 17:05:52 +01:00
Evan Czaplicki
a5684ff356 Making #486 more in line with the style of the rest of the codebase
Actual style guidelines coming soon!
2014-02-08 16:03:04 +01:00
Evan Czaplicki
3de2023639 Merge pull request #486 from JoeyEremondi/dev
Added Pretty instance for Module (3rd time's the charm)
2014-02-06 19:41:03 +01:00
Evan Czaplicki
9061311407 Merge pull request #489 from maxsnew/cabal
Bump restrictive dependencies
2014-02-06 19:37:04 +01:00
Max New
0c405e9b72 bump restrictive dependencies 2014-02-04 16:39:09 -06:00
Joey Eremondi
8594f6ad69 Added Pretty instance for Module 2014-02-01 01:05:17 -06:00
Evan Czaplicki
04df60815c Merge pull request #480 from Dandandan/dev
Fix bad markdown performance
2014-01-29 05:12:21 -08:00
DanDanDan
8d41059658 also improve the interpolation parser 2014-01-29 09:04:16 +01:00
DanDanDan
a5a6f2beb1 fix bad markdown performance 2014-01-29 02:25:26 +01:00
Evan Czaplicki
f5c612f13c Add Date.fromTime function, based on PR #357 2014-01-28 23:56:24 +01:00
Evan Czaplicki
f636b7576f Merge pull request #409 from maxsnew/keepWhen
Change semantics of keepWhen/dropWhen.
2014-01-28 06:18:04 -08:00
Evan Czaplicki
56c4fb936d Merge pull request #439 from maxsnew/safeNames
Hack to make imported names safe.
2014-01-28 06:11:12 -08:00
Evan Czaplicki
007ea7126f Get rid of isClicked
It can be argued that everything should be derived from isDown and
position (the two real facts about the mouse), so maybe that is a
direction to go from here.
2014-01-27 12:29:52 +01:00
Evan Czaplicki
50c2618d3a Try to improve error messages in response to issue #479 2014-01-27 02:49:21 +01:00
Evan Czaplicki
3fec0f94ee attempt to make the documentation easier 2014-01-24 18:07:49 +01:00
Evan Czaplicki
4ef397c3dc Get rid of dead code, cannot be called because of the type checker 2014-01-24 18:07:07 +01:00
Evan Czaplicki
5d5b01cb2d Merge pull request #456 from maxsnew/trampoline
Trampoline
2014-01-24 08:31:58 -08:00
Evan Czaplicki
54a2f25584 Merge branch 'master' into dev 2014-01-23 18:46:52 +01:00
Evan Czaplicki
daeccdc65e Merge pull request #473 from maxsnew/window
Tweak runtime so it runs without a "window" object defined.
2014-01-23 09:40:14 -08:00
Max New
e194592403 Better window workaround. Thanks @raynos 2014-01-22 20:24:03 -06:00
Max New
066992c251 Tweak runtime so it runs without a "window" object defined. 2014-01-22 16:04:04 -06:00
Evan Czaplicki
a5e1aebecf Update to address problems reported in #457
Sorry for the trouble, I’d like to make installers to get around all of
this crap.
2014-01-21 13:51:19 +01:00
Evan Czaplicki
ea23081f05 Get rid of extra word 2014-01-21 00:01:57 +01:00
Evan Czaplicki
3ab80bf608 Bump to 0.11 2014-01-20 23:54:18 +01:00
Evan Czaplicki
df149b4c3a Move documentation to make haddock happy 2014-01-20 23:25:59 +01:00
Evan Czaplicki
5c6882dbd6 Bump version number 2014-01-20 22:47:14 +01:00
Evan Czaplicki
4c27440fcb Merge branch 'dev' 2014-01-20 22:12:54 +01:00
Max New
df135b8c9b Update trampoline docs to new interface. 2014-01-20 14:40:10 -06:00
Max New
b47166144d Simplify Trampoline datatype. 2014-01-20 14:38:12 -06:00
Evan Czaplicki
df95c68c56 Fix problem with Text alignment! 2014-01-20 20:54:16 +01:00
Evan Czaplicki
4b1474dcdc Correctly update model, accounting for possibly dropped frames
Thanks to @johnpmayer for discovering this issue!

Since draw is async, it was possible to update the model without
updating the underlying DOM stuff. This could cause issues on its own,
but if you need to pass info from model to model, that is also lost
when this happens.
2014-01-20 19:57:31 +01:00
Max New
50bc5a493f Remove old JS dropWhen/keepWhen 2014-01-20 11:22:06 -06:00
Max New
9dc1549431 Uncomplicate keepWhen implementation 2014-01-20 11:22:06 -06:00
Max New
0a1c8990eb Change semantics of keepWhen/dropWhen.
They no longer propagate the right Signal when the left Signal
changes.
2014-01-20 11:22:06 -06:00
Evan Czaplicki
6556b1bf4e Merge pull request #461 from jvoigtlaender/keepIf-docu
corrected documentation of keepIf and friends
2014-01-20 08:13:18 -08:00
Evan Czaplicki
4e5ba54934 Revert "Merge pull request #462 from jvoigtlaender/Mouse.isClicked-correction"
This reverts commit 26b7fc617f, reversing
changes made to 9be0abd018.
2014-01-20 17:09:34 +01:00
Evan Czaplicki
26b7fc617f Merge pull request #462 from jvoigtlaender/Mouse.isClicked-correction
change Mouse.isClicked to adhere to its documentation
2014-01-20 08:07:42 -08:00
Evan Czaplicki
9be0abd018 Try to address #464 2014-01-20 17:06:25 +01:00
Evan Czaplicki
bb056ac2f4 Attempt to address #463
@ jvoigtlaender, does this clarify things enough?
2014-01-20 16:48:43 +01:00
Evan Czaplicki
b00a8cb9b5 Add check that all ports appear in the "main" module
It is unclear what it means if ports are used in sub-modules, so to be
cautious, we want to rule it out in the first release. As people use
the API it’ll become clear how sub-module ports are necessary and what
problems they might cause.
2014-01-20 15:10:40 +01:00
Evan Czaplicki
066a164763 Rename the dummy paths file so that it does not register as C code! 2014-01-20 14:54:27 +01:00
Evan Czaplicki
f5351438ee cosmetic: get rid of a (>>) in favor of a do-block 2014-01-20 14:04:36 +01:00
Evan Czaplicki
fc154f91cf Use Build.Print to show errors 2014-01-20 14:01:53 +01:00
jvoigtlaender
c3c12b929b change Mouse.isClicked to adhere to its documentation 2014-01-20 07:46:49 +01:00
jvoigtlaender
b79a8a8061 corrected documentation of keepIf and friends 2014-01-20 07:40:24 +01:00