Commit graph

809 commits

Author SHA1 Message Date
evancz
dab4b7c7b8 Switch from ($) to (|>) and (<|). 2013-04-24 22:26:01 -07:00
evancz
ac67dbd87f Take out the F# inspired composition operators. I think this needs to wait until type-classes / monads / arrows are more figured out. 2013-04-22 10:24:37 -07:00
evancz
00d3ad2db6 Shorten Libraries.hs, and fix some types in some of the libraries. 2013-04-22 02:36:11 -07:00
evancz
29384b771a Add some operators from F#: |>, <|, <<, and >> 2013-04-21 13:59:12 -07:00
evancz
5b475ac2a0 Begin getting things ready to support toForm 2013-04-19 01:59:39 -07:00
evancz
a764f68646 Get rid of memory leak caused by creating tons of canvases. 2013-04-18 22:25:39 -07:00
evancz
95726b7baf Start using requestAnimationFrame 2013-04-18 22:25:18 -07:00
evancz
d2846a2534 Fix the default size of text blocks. 2013-04-14 18:07:26 -07:00
evancz
1d2b3fcbe4 Add built in event listeners. 2013-04-10 02:00:58 -07:00
evancz
986010fb6a Add plainText back. Fix some types. Fix a bug in mergeEither. 2013-04-10 00:52:53 -07:00
evancz
82b7929ccf Get the core libraries compiling again. Fix type signatures that have super-types, and fix bugs in a couple files. 2013-04-09 22:15:06 -07:00
evancz
530bc6e2b9 Fix how types are converted to strings. This actually fixes some bugs that come from generating docs.json, which led to incorrect types being used in the compiler. 2013-04-09 22:12:31 -07:00
evancz
7d03f69f8c Provide a way to define super-types in type annotations. Should not be used outside of core libraries. 2013-04-09 19:50:56 -07:00
evancz
cf2357f527 Remove testing via unsafePerformIO 2013-04-09 19:49:35 -07:00
evancz
c2fc03ca0f Dealias more reliably during unification 2013-04-09 10:05:00 -07:00
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