evancz
595ed380e8
Add much better introduction. Part blog post, part game of Pong.
2012-08-18 13:28:01 +02:00
Evan Czaplicki
3f6843df9a
Add the word 'overview'
2012-08-17 20:30:37 +03:00
evancz
ee2805a992
Moved comment to beginning to contextualize the program and emphasize design choices.
2012-08-17 19:26:22 +02:00
evancz
d0da29f2a0
Finish up comments for Pong.
2012-08-17 19:05:18 +02:00
evancz
a5b6d4e765
Add Pong project.
2012-08-17 16:38:41 +02:00
evancz
07ff34754a
Fix optimization error.
2012-08-14 20:50:03 +02:00
evancz
29cd1355bd
Latest js runtime system.
2012-08-14 20:40:50 +02:00
evancz
3584556ccd
Insert spaces such that line breaks still happen. Fix string displaying in buttons.
2012-08-14 20:38:48 +02:00
evancz
c402dce192
More bug fixes for string escaping.
2012-08-14 15:07:04 +02:00
evancz
cc345bccf2
Add note about toText bug
2012-08-14 14:11:49 +02:00
evancz
b9380718ce
Fix display bug in toText
function. Strings were not escaped properly :/ Now they are!
2012-08-14 14:10:24 +02:00
evancz
cb9d2966c1
Turn noscript generation on by default.
2012-08-12 00:02:49 +02:00
evancz
bfe31c300a
Depend on lib that actually exists.
2012-08-12 00:01:48 +02:00
evancz
83382f333c
Update latest elm-runtime.
2012-08-11 12:48:00 +02:00
evancz
e5eb0a0f65
Update changelog.txt
2012-08-11 12:44:23 +02:00
evancz
9b659ddb35
Add error messages for errors due to untyped native functions. Hopefully untyped native functions can be eliminated soon!
2012-08-11 12:44:09 +02:00
evancz
8810898c08
Add some type hints and print out any assumptions that escape type checking.
2012-08-10 22:16:30 +02:00
evancz
028d2eca51
Fix bad behavior of [ lo .. hi ]
syntax. Now [4..0] ==> [], not [0].
2012-08-10 22:15:48 +02:00
evancz
dea401b9f8
Fix bug in concretize
in which a fold uses the base for every step instead of accumulating the result (i.e. t
becomes t'
). One character mistakes are the worst! Let-polymorphism should be working for everything now! FINALLY! Mabye...
2012-08-09 18:18:38 +02:00
evancz
2f327b087a
Correct bug with displaying characters.
2012-08-09 16:38:44 +02:00
evancz
9e90c58849
Change module names in Types/ to include Types prefix. Work on getting let-polymorphism correct.
2012-08-09 16:38:18 +02:00
evancz
46df5ff0ff
Add new binops to parser.
2012-08-07 13:39:03 +02:00
evancz
75593c5df5
Change representation of Modules. Now all statements (definitions, datatypes, event imports, and event exports) are treated the same way. This caused lots of changes, but will ultimately improve type checking.
2012-08-02 01:37:37 +02:00
evancz
033fa66e5a
Add type hints for move
, scale
, and rotate
.
2012-07-31 15:36:26 +02:00
evancz
46cb69f5c6
Update runtime system, and update version number to 0.3.6.
2012-07-28 23:06:54 +02:00
evancz
76aab32ef6
Add some type hints for JSON library.
2012-07-28 22:59:51 +02:00
evancz
f39142db12
Add JSON library and make pretty printing for JSON work.
2012-07-28 22:59:31 +02:00
evancz
3b5dea98b4
Update changelog.txt to reflect new changes.
2012-07-28 20:46:36 +02:00
evancz
848f31c4b7
Add variable renaming for new Let representation.
2012-07-28 20:46:14 +02:00
evancz
45f834e0fc
Add context to type constraints for better error messages. Fix big with generated constraints in which some constraints could be ignored.
2012-07-28 20:45:42 +02:00
evancz
8c422182e8
Add (^) binop and update comparison operators to use new comparison framework.
2012-07-28 20:44:34 +02:00
evancz
b5c941349f
Add Comparable super-type, along with compare
function.
2012-07-28 20:36:29 +02:00
evancz
b89d822de8
Add custom Show instance for Expr datatype.
2012-07-28 20:34:47 +02:00
evancz
b6806c5d48
Add JSON library.
2012-07-28 20:33:58 +02:00
evancz
39f00d8b6b
Display JSON properly and add JSON.js to the big lib builder.
2012-07-28 20:33:00 +02:00
evancz
7d09fb6972
Fix display bug in latest Chrome build.
2012-07-28 20:32:31 +02:00
evancz
6c90abaf3d
Add comparison functions and some (int <-> float) functions.
2012-07-28 20:31:57 +02:00
evancz
0a4010e7da
Add the 'Appendable' super-type and add hints for new number functions.
2012-07-22 00:50:35 +01:00
evancz
79e465c9e0
Change representation of let-expressions to fix let-polymorphism. Better type inference for case-expressions (all cases must have same type).
2012-07-22 00:48:51 +01:00
evancz
e81bdc9b2d
Fix two typos.
2012-07-19 12:26:35 +00:00
evancz
d4b2760178
Correct some type hints that specified ints when numbers are okay.
2012-07-19 12:22:31 +00:00
evancz
e75937e958
Final fixes for use of type schemes.
2012-07-19 11:53:45 +00:00
evancz
9a51377c33
Change optimizations to match new internal representation of numbers.
2012-07-19 11:52:50 +00:00
evancz
153d05438c
- Simplify basic types. Add more correct versions of Type Schemes and Super Types.
...
- Adjust type hints to use type schemes.
- Adjust constraint generation to use type schemes and super types properly.
- Modify unification algorithm to properly handle type schemes and super types.
2012-07-19 11:51:57 +00:00
evancz
6c47a84f96
Add separate representations for Ints and Floats.
2012-07-19 11:47:53 +00:00
evancz
0b99ea4def
Add div
function for integer division.
2012-07-17 18:53:48 +00:00
evancz
4cd426d9fb
Fix FFI conversion bug for JSTuples to Tuples.
2012-07-17 18:53:30 +00:00
evancz
46398b9e31
Add latest runtime system.
2012-07-05 10:47:10 -05:00
evancz
07104c2156
Merge branch 'master' of https://github.com/evancz/Elm
2012-07-05 10:41:31 -05:00
evancz
03245c286a
Fix foldr1 bug (wrong base case). Reveal isClickedOn
in Signal.Mouse. Bump version number.
2012-07-05 10:21:27 -05:00