Commit graph

172 commits

Author SHA1 Message Date
evancz
e33d3290e3 Introduce basic optimizations.
Reduces the size of string-heavy code dramatically! 70% decrease in the
size of the the elm-lang.org home page.
2012-05-22 18:07:21 -04:00
evancz
7875f20537 Add type hint for Input.stringDropDown 2012-05-21 17:33:04 -04:00
evancz
ee0c81141c Fixed typo. It's "tuple" not "tulpe"! 2012-05-21 16:13:22 -04:00
evancz
13a25c34fe Add type hints for partial coverage of "Input" 2012-05-21 16:07:32 -04:00
evancz
68b3c86ac1 Add type hints for the Signal, Mouse, and Window libraries. 2012-05-20 22:24:35 -04:00
evancz
54edea7827 Correct error with type inference. 2012-05-20 21:36:29 -04:00
evancz
617c7a9c5d Add hint for "text" function. 2012-05-20 21:02:06 -04:00
evancz
0050157ceb Merge branch 'master' of https://github.com/evancz/Elm 2012-05-20 01:15:48 -04:00
evancz
ae6984c331 Clean-up after dependency changes. Replace foldl with foldl' in some places. 2012-05-20 01:14:54 -04:00
evancz
b5711243f1 Another change for the 'Str' data constructor. 2012-05-20 01:12:37 -04:00
evancz
c00d0171a8 Add the 'Str' data constructor to Ast.hs. Makes type checking go much much much faster! 2012-05-20 01:11:45 -04:00
evancz
5b4950006f More type hints. 2012-05-20 01:10:16 -04:00
evancz
68a5636beb Add more strictness to deal with space-leak in cSub and tSub functions. 2012-05-20 01:09:12 -04:00
evancz
e041457bee Update build dependencies. 2012-05-20 01:07:59 -04:00
Evan Czaplicki
4e15a25220 Update README.md 2012-05-19 17:16:10 -03:00
evancz
0aa1b0b88f Ensure that variables are renamed. Accidentally stopped renaming vars on last commit. 2012-05-17 23:51:38 -04:00
evancz
f76a22e1fa Redo type parser. Correct let-polymorphism in unification. 2012-05-17 23:16:16 -04:00
evancz
5ba2f27b88 Improve type inference for List library and Maybe datatype. 2012-05-15 02:12:18 -04:00
evancz
911d92cd6f Improve type hints for values that fall through to JavaScript. Abstract out Guid functions since they are now used in many modules. 2012-05-12 00:27:59 -04:00
evancz
0ca86e4954 Allow let-polymorphism in type-inference algorithm. Remove old type-checking files. 2012-05-11 21:08:15 -04:00
evancz
f5bdeae815 Add basics of type-checking and inference. Uses constraint generation method. 2012-05-11 06:28:56 -04:00
evancz
3a83d69168 Correct errors with mod function. 2012-04-30 23:13:35 -04:00
evancz
e87d8c4861 Include changes to update, mod, and rem into runtime system. 2012-04-30 21:58:25 -04:00
evancz
368b145def Correct behavior of 'mod' function. Add 'rem' function. 2012-04-30 21:56:20 -04:00
evancz
fc6bcf6934 Remove DOM update code in favor of naive update mechanism (replace everything). Not ideal, but should be added back when Element model is more robust. 2012-04-30 21:55:52 -04:00
evancz
cdd1a897bb Improve error reporting very slightly. Add Mouse.clickedOn function. 2012-04-30 17:05:34 -04:00
evancz
f0374d1947 Merge branch 'master' of https://github.com/evancz/Elm 2012-04-29 20:55:44 -04:00
evancz
bc78002238 Add Input.button for form submission. 2012-04-29 20:55:29 -04:00
Evan Czaplicki
3e866145ab Merge pull request #5 from abhinav/master
Lexer cleanup
2012-04-29 17:21:34 -07:00
Abhinav Gupta
7771695d50 Merge branch 'master' of https://github.com/evancz/Elm 2012-04-29 14:19:38 -07:00
evancz
d3399d12e3 Merge branch 'master' of https://github.com/evancz/Elm 2012-04-29 15:09:16 -04:00
evancz
75ce10de64 Fix subtle signal update bug. Lift nodes previously short-circuited when one input changed rather than updating all inputs. 2012-04-29 15:08:30 -04:00
Abhinav Gupta
98fb3783f5 Simplify some of the Lexer code and add type hints 2012-04-28 19:30:14 -07:00
Evan Czaplicki
9de68ec154 Reorder sections for more clarity. More use of the code font. 2012-04-28 18:12:10 -03:00
Evan Czaplicki
5696b02913 Merge pull request #4 from abhinav/master
Fixed HLint warnings
2012-04-28 13:35:57 -07:00
Abhinav Gupta
f32b647ac5 Fix HLint warnings. 2012-04-28 00:26:46 -07:00
Abhinav Gupta
37cab4561a More HLint warnings 2012-04-27 23:57:11 -07:00
Abhinav Gupta
1ca1d33b77 Revert "Use a state monad to track environment."
This reverts commit 8fbfbce801.
2012-04-27 23:56:23 -07:00
Abhinav Gupta
8fbfbce801 Use a state monad to track environment.
Within the Rename module, switch to using the state
monad to track renamed variables (and the GUID
numbering). This allows rename' and other functions
to be much simpler by removing the additional `env`
argument.
2012-04-27 22:09:46 -07:00
evancz
5a11ed42a7 Merge branch 'master' of https://github.com/evancz/Elm 2012-04-27 20:45:48 -04:00
Evan Czaplicki
0c7df3a220 clarify 2012-04-27 20:00:30 -03:00
Evan Czaplicki
e518225190 Add better advice 2012-04-27 19:58:18 -03:00
Evan Czaplicki
816178f7a7 Add missing equal sign 2012-04-27 19:41:22 -03:00
Evan Czaplicki
3803072211 Clarify the role of elm-mini.js 2012-04-27 19:04:00 -03:00
Evan Czaplicki
198efb8c68 Correct weird quotes. 2012-04-27 19:00:38 -03:00
Evan Czaplicki
e47267b6d8 Add container error warning. 2012-04-27 18:58:13 -03:00
Evan Czaplicki
3a81dadca9 Clarify "first project" section. 2012-04-27 18:54:31 -03:00
evancz
61b6c88ad3 Merge branch 'master' of https://github.com/evancz/Elm 2012-04-27 17:33:58 -04:00
Evan Czaplicki
12976d33f0 Merge pull request #2 from michaelt/master
Fix ambiguity with Prelude.foldl
2012-04-27 10:07:39 -07:00
Evan Czaplicki
1290b91ea6 Merge pull request #1 from abhinav/master
Fixed HLint warnings for 3 modules.
2012-04-27 10:01:12 -07:00