Commit graph

2157 commits

Author SHA1 Message Date
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
Michael Thompson
e39af23005 Prelude.foldl wanted 2012-04-27 11:36:57 -04:00
Abhinav Gupta
a666e9bf86 Fixed HLint warnings in Rename.
- Added type signatures.
- Cleaned us renaming.
- Added wrapper around state monad.
- Renamed pattern_extend and pattern_rename to patternExtend and patternRename
  to conform with convention.
2012-04-27 01:29:13 -07:00
Abhinav Gupta
84a90b44d5 Fixed HLint warnings in ExtractNoscript and FreeVar 2012-04-27 01:24:47 -07:00
evancz
fea475180b Remove extra README file. 2012-04-26 23:47:37 -04:00
Evan Czaplicki
53e3f1725f add PATH changing tutorial 2012-04-27 00:38:03 -03:00
evancz
56bb400074 Spell check. 2012-04-26 18:12:01 -04:00
evancz
3355ad2e3f Add Debian tip. 2012-04-26 18:07:45 -04:00
evancz
84d3c0d0fd Add clarification to 'cabal update' instructions 2012-04-26 16:54:24 -04:00
evancz
3012c9ad7f Change elm-mini.js location. 2012-04-26 16:24:34 -04:00
evancz
a52f2f49c0 Add better instructions and "error-message" problem to README.md. 2012-04-26 16:17:41 -04:00
evancz
8e65cfde94 Fix error in FreeVar.hs, and add information to README.md 2012-04-26 16:08:14 -04:00
evancz
4e1760f7c9 Fix .cabal file more. Remove dependence on Types.hs from Parse/ParsePatterns.hs. 2012-04-26 04:19:55 -04:00
evancz
a31f71df8d Add source-repository to .cabal file. Also, added upper bound to base constraint. 2012-04-26 02:55:11 -04:00
evancz
c0860aaf7c Change version numbers and updated .cabal file. 2012-04-25 01:52:06 -04:00
evancz
62640abe29 Updated version number. 2012-04-24 19:17:07 -04:00