Evan Czaplicki
95758d2e31
Merge pull request #119 from techtangents/quickcheck
...
Quickcheck
2013-03-17 17:46:24 -07:00
evancz
b1d0c74c2d
Get elm-doc to extract comments!
2013-03-17 16:36:24 -07:00
evancz
9c74b8697d
Fix join
and fix show
2013-03-17 13:42:13 -07:00
evancz
6bcf63a0d8
Add split to List module and rename intercalate to join.
2013-03-17 13:01:50 -07:00
techtangents
98d7fde7cb
removed crud
2013-03-17 22:01:23 +10:00
techtangents
32efcfa941
tests
2013-03-17 21:48:39 +10:00
techtangents
cda0a68584
Renamed StringValue -> StringLiteral. Moved quotes from tests to StringLiteral's arbitrary
2013-03-17 20:58:47 +10:00
techtangents
f60f38383e
test tweaking
2013-03-17 20:53:10 +10:00
techtangents
0e099fd248
Bringing a quasiquoter in for string interpolation in tests. Added a .ghci file to load tests in ghci.
2013-03-17 20:45:22 +10:00
techtangents
3e30c85fed
Bringing a quasiquoter in for string interpolation in tests. Added a .ghci file to load tests in ghci.
2013-03-17 20:45:11 +10:00
evancz
263bf1c0cc
Import qualified name by default.
2013-03-17 00:12:33 -07:00
evancz
7dbb052b22
Load json representation of types with Template Haskell, so library files are the base truth of type information.
...
Make minor fixes in libraries, such as adding the Char labrary and fixing the types in the Dict library.
2013-03-16 22:24:18 -07:00
evancz
96ef98417c
Change such that import
imports all by default. Too annoying the other way. Write a linter for that.
...
Also make imports a bit more concise in generated JS.
2013-03-16 13:02:01 -07:00
evancz
194b25958b
Get everything compiling again.
2013-03-16 13:00:59 -07:00
evancz
99ae5c6ba0
Finish moving the compiler down a directory.
2013-03-16 12:07:32 -07:00
evancz
1822ebc160
Move the compiler down a directory, mostly.
2013-03-16 12:04:05 -07:00
evancz
602bffa623
Save characters on imports.
2013-03-16 11:56:47 -07:00
evancz
3746c3217a
Fill in some of Prelude.js
2013-03-16 02:02:16 -07:00
evancz
202aace362
Add the Prelude library with type annotations and docs.
2013-03-16 01:21:08 -07:00
evancz
0050bfa845
Add a matrix library and switch collage over to use it.
2013-03-16 01:11:15 -07:00
evancz
f1071b7614
Don't expose Matrix to people yet
2013-03-15 10:58:59 -07:00
evancz
3d7da56782
Merge branch 'dev' of https://github.com/evancz/Elm into dev
2013-03-15 10:56:53 -07:00
evancz
481c2daab8
Switch to matrix representation of transformations.
2013-03-15 10:56:07 -07:00
techtangents
fb6f3346d2
Package juggling in tests
2013-03-15 23:54:31 +10:00
Evan Czaplicki
39fcc823be
Merge pull request #116 from ngunn/dev
...
Fix Elm.cabal missing elm-runtime.js
2013-03-14 16:14:57 -07:00
Evan Czaplicki
764c77e996
Merge pull request #117 from osnr/master
...
Use <button> instead of <input type="button">
2013-03-14 14:22:00 -07:00
Omar Rizwan
d84b8d8498
Use button tag instead of input for buttons. Makes button heights changeable.
2013-03-14 16:39:08 -04:00
ngunn
628f622f43
Fix Elm.cabal missing elm-runtime.js (follow-up)
...
Cut+paste error
Obviously, we want the js and the elm files, not the elm files twice.
2013-03-14 16:28:02 +00:00
ngunn
ef4d1db45a
Fix Elm.cabal missing elm-runtime.js
...
Move Build.hs (which builds elm-runtime.js) into a cabal build step (in compiler folder)
The elm exec and runtime should never get out of sync
Having a separate Build.hs file also causes problems when using cabal-dev
Moving elm-runtime.js into the dist/ folder also shows that it's generated (and cabal clean will remove it)
Similar for types.json (although whether this should be part of the build step, I don't know)
2013-03-14 14:28:49 +00:00
evancz
6761fbb695
Switch one of the names in the JSON representation of type info.
2013-03-14 01:47:29 -07:00
evancz
42b4d5531f
Add the Docs.hs file that extracts type annotations.
2013-03-14 01:04:51 -07:00
evancz
1b3480a522
Fix bug in Element module: using unbound variables. Need to make compiler check for this!
2013-03-13 10:31:37 -07:00
techtangents
17d90a34a2
added some tests of simple programs with assignment
2013-03-13 23:47:14 +10:00
evancz
152ef51a98
Fix croppedImage
, show
for tuples, and init for resizing initial dom node.
2013-03-13 00:52:14 -07:00
evancz
6b071db7cc
Correct Native.___ imports.
2013-03-13 00:03:54 -07:00
evancz
1552651eaf
Make sure Mouse, Random, Window, and Time import their native implementation.
2013-03-13 00:00:02 -07:00
evancz
3540449119
Fix behavior of width and height to maintain the dimensions of images when resizing. Move htmlHeight into Utils so it can be used by both Element and Text.
2013-03-12 22:59:15 -07:00
evancz
609dc36596
Add height check and get rid of utils which was in the wrong place (i think)
2013-03-12 21:25:47 -07:00
evancz
55137ac66d
Move files around in runtime/
2013-03-12 11:06:47 -07:00
techtangents
b87f9665b4
added info to cabal file for test-framework/quickcheck
2013-03-12 22:30:02 +10:00
evancz
d97027c118
More minor fixes to RTS.
2013-03-12 01:51:54 -07:00
evancz
a1b890adc3
Lots of tiny fixes to get the RTS working!
2013-03-12 00:48:11 -07:00
evancz
15c35c824b
Clean out Input file!
2013-03-11 10:59:30 -07:00
evancz
4af458573d
Add success message that makes it clearer that the compiler is built separately.
2013-03-11 10:57:21 -07:00
evancz
213048dedd
Move Geometry.elm into the Graphics/ directory.
2013-03-11 10:50:28 -07:00
evancz
34294a5f42
Strip out the unrelated things from Misc.js and rename it to Show.js, which is all it does now anyway!
2013-03-11 10:46:16 -07:00
evancz
66c08fdc40
Add exitSuccess to the Build script
2013-03-11 10:45:43 -07:00
evancz
db44b154b4
Combine Keyboard and Keyboard.Raw modules.
2013-03-11 10:38:52 -07:00
Evan Czaplicki
9f1ff4e5df
Merge pull request #112 from kjgorman/master
...
Pong paddle directions flipped
2013-03-11 01:00:17 -07:00
Evan Czaplicki
dbdb535f58
Merge pull request #113 from osa1/unusedmodule
...
Remove unused FreeVar module
2013-03-11 00:54:08 -07:00