evancz
5b62c530d5
Add type annotations to more library files.
2013-04-08 01:49:44 -07:00
evancz
5d536d129a
Get prelude added in all cases.
2013-04-08 01:48:30 -07:00
evancz
9c22031d28
Style tweak.
2013-04-07 17:58:43 -07:00
evancz
22890292b8
Correct resizing problems with static elements. Previously, no property updates occurred.
2013-04-07 17:57:57 -07:00
evancz
703508f1c3
Fix prelude imports and correctly generalize for library types that use Number
.
2013-04-07 17:55:34 -07:00
evancz
ebb570d462
Take out parens for record access. I am only fairly certain that this is okay.
2013-04-07 17:53:52 -07:00
evancz
d47614cdd1
Fix indentation
2013-04-07 08:40:27 -07:00
evancz
bef646a3f1
Cosmetic changes
2013-04-07 06:46:56 -07:00
evancz
1d04b342d8
Permit pattern matching on records in case-expressions.
2013-04-07 06:46:46 -07:00
evancz
60e403ba82
Fix show
for ADTs and get parens in the right places.
...
Make `Elm.init(Elm.MyModule)` work nicer when it takes over the whole `document` and needs to resize with the window.
2013-04-06 16:48:20 -07:00
evancz
0354fad128
Explicitly list imports for a module.
2013-04-05 09:56:37 -07:00
evancz
d7948ad914
Move script tags into header.
2013-04-05 09:56:21 -07:00
evancz
87fa86c7e8
Get type dealiasing working.
2013-04-05 09:55:30 -07:00
evancz
5faf79c6da
Also hide height
from the Text module, which overlaps with the Element version of the function.
2013-04-05 09:53:15 -07:00
evancz
613d9f5bc9
Fix bug in height
and color
2013-04-05 09:52:18 -07:00
evancz
f625a9c7d6
Fix how compiler errors are displayed in generated HTML
2013-04-05 09:51:45 -07:00
evancz
1af2ff9a01
Get the API for Language.Elm in better shape. Trying to get elm-lang.org working again.
2013-04-04 10:37:43 -07:00
evancz
82f888cb3d
Get the type-checker running based on docs.json information. Also add rules for Nil
and Tuple0
, Tuple2
, etc.
2013-04-04 01:09:35 -07:00
evancz
7664f71fc5
Fix combine function in Signal.
2013-04-03 10:35:18 -07:00
evancz
f3befa61cb
Skip average for now. To be added back!
2013-04-03 10:33:13 -07:00
evancz
ab62612332
Ensure that --make skips trying to read libraries as files.
2013-04-03 10:27:23 -07:00
evancz
fc37907bc1
Move average
to the automaton library.
2013-04-03 10:15:46 -07:00
evancz
d27ab15ec4
Add combine to the signal library.
2013-04-03 09:54:10 -07:00
evancz
1dbbc599f9
Reorder comments in List.elm
2013-04-03 00:33:55 -07:00
evancz
294fdfdaa5
Add prelude in compiler with flag. Re-add the hiding
option for modules internally.
2013-04-03 00:32:21 -07:00
evancz
22bfcb83cf
Add the --no-prelude flag for compiling the standard libraries. Clean up code to handle flags. Change name of --generate-noscript to --noscript (this flag can probably be taken out actually)
2013-04-01 01:05:41 -07:00
evancz
58640c553b
Make sure that List only gets instantiated once. Requires that the list library is pure (never touches the elm
variable)
2013-04-01 00:36:30 -07:00
evancz
7d1b40a85f
Change send function to be curry-able.
2013-04-01 00:35:45 -07:00
evancz
475bc10876
Add implementation for checkboxes, passwords, and emails.
...
Ensure that direction of text selection is properly captured.
2013-04-01 00:35:18 -07:00
evancz
2ee23724f9
Fix nested pattern matching in let expressions.
2013-03-29 19:26:50 -07:00
evancz
9c8dfd9b68
Give better name for errors when parsing docs.json
2013-03-28 10:01:15 -07:00
evancz
c15005f71c
Get rid of special Input/Button.elm file, all will be in Graphics.Input.
2013-03-27 18:57:38 -07:00
evancz
a66a4b1fab
Fix Automaton library to match PLDI paper.
2013-03-27 18:56:30 -07:00
evancz
ecaa5bdb29
Merge branch 'dev' of https://github.com/evancz/Elm into dev
2013-03-27 18:32:44 -07:00
Evan Czaplicki
7044dd511f
Merge pull request #134 from ngunn/l-dev
...
List.js change: Nil checks all use .ctor
2013-03-27 14:09:28 -07:00
Evan Czaplicki
10242dbc7d
Merge pull request #133 from ngunn/c-dev
...
Setup.hs: move buildTypes back into post-build, fixes compilation dependencies
2013-03-27 14:06:18 -07:00
ngunn
aa7a67fc85
List.js change: Nil checks all use .ctor
...
added comment on Nil handling
direct Nil comparison with ctor equiv. see comments here: https://github.com/evancz/Elm/pull/130#issuecomment-15471337
2013-03-27 21:02:27 +00:00
ngunn
2e4951b78e
Setup.hs: move buildTypes back into post-build, fixes compilation dependencies
...
cabal compiling far fewer files now :-)
minimal changes, mostly comments, so it should be easier to put back/further fix/other
2013-03-27 20:48:44 +00:00
evancz
c0a4286c16
Fix bug in lineStyle migration.
2013-03-27 09:52:16 -07:00
evancz
2aeeae7239
Fix rendering of lineJoin.
2013-03-26 19:31:31 -07:00
evancz
af64fc1848
Merge branch 'dev' of https://github.com/evancz/Elm into dev
2013-03-26 19:02:02 -07:00
evancz
e9d2288197
Move LineStyle into Collage.
2013-03-26 18:50:18 -07:00
Evan Czaplicki
d9d1dfd746
Merge pull request #128 from osa1/relaxdeps
...
relax blaze-html and happstack-server dependencies
2013-03-26 17:34:10 -07:00
Evan Czaplicki
0a8187257c
Merge pull request #131 from ngunn/dev
...
List.js: fix long-standing bug in append (2 chr$ change)
2013-03-26 10:03:03 -07:00
ngunn
864761b56e
List.js: fix long-standing bug in append (2 chr$ change)
...
Present since initial version: 389a6f5309
2013-03-26 14:21:57 +00:00
evancz
9a40392e00
Fix bugs in container
and an empty flow
2013-03-26 00:12:31 -07:00
evancz
dd10e820de
Merge branch 'dev' of https://github.com/evancz/Elm into dev
2013-03-25 19:09:07 -07:00
Evan Czaplicki
3759543128
Merge pull request #130 from ngunn/dev
...
Singleton Nil consequential change to compiler (minor)
2013-03-25 18:16:13 -07:00
ngunn
b6872d4bac
Singleton Nil consequential change to compiler (minor)
...
CompileToJS generates objects using "ctor:"... for all non-primitives.
Added special handling for lists
Might be better to have a separate tag instead of: Data "Nil"
Test case:
main_join = let f x xs = (x::xs)
in asText $ zipWith f ['c','m','t'] ["hop","ill","ape"]
before fails with "xs: undefined".
2013-03-26 01:04:19 +00:00
Evan Czaplicki
3559c5374d
Merge pull request #129 from ngunn/dev
...
List.js minor bugfixes (for review)
2013-03-25 14:28:59 -07:00