Commit Graph

627 Commits

Author SHA1 Message Date
Gabriel Gonzalez
a0a2c54671 Add List/first 2016-09-16 08:58:42 -07:00
Gabriel Gonzalez
a34dee9356 Fix pretty-printing for function arguments 2016-09-15 22:17:23 -07:00
Gabriel Gonzalez
39cee75f69 Tighten record pretty-printing 2016-09-15 22:13:53 -07:00
Gabriel Gonzalez
b068384098 Use {1} to denote empty record type
This eliminates the need for double braces
2016-09-15 22:08:40 -07:00
Gabriel Gonzalez
09fe4bf1cd Add List/indexed 2016-09-15 21:41:10 -07:00
Gabriel Gonzalez
59a0c68e1e Add Maybe/fold 2016-09-15 20:24:28 -07:00
Gabriel Gonzalez
2e0689a7aa Reintroduce support for Maybe
... but this time using a syntax similar to `List` literals
2016-09-15 19:52:59 -07:00
Gabriel Gonzalez
c5b781e03e Change list literal syntax
Move the type annotation outside the list

This is to prepare for an equivalent syntax for `Maybe` literals
2016-09-15 09:34:55 -07:00
Gabriel Gonzalez
6580a4cbf1 Change [ a ] to List a 2016-09-15 09:03:12 -07:00
Gabriel Gonzalez
7ea7603594 Update documentation 2016-09-14 19:48:35 -07:00
Gabriel Gonzalez
e2b247b705 Fix normalization of if expressions 2016-09-13 21:38:51 -07:00
Gabriel Gonzalez
abbcdb8b55 Rename Star/Box to Kind/Type 2016-09-13 21:38:37 -07:00
Gabriel Gonzalez
d0e29c66f9 Polish source 2016-09-13 21:27:49 -07:00
Gabriel Gonzalez
7ee927e9ad Disable dependent types 2016-09-13 21:15:56 -07:00
Gabriel Gonzalez
78d2975d48 Use parseUrlThrow instead of parseUrl 2016-09-13 20:47:32 -07:00
Gabriel Gonzalez
f2030edbab Remove support for Maybe 2016-09-13 20:41:36 -07:00
Gabriel Gonzalez
16da255e98 Fix pretty printer to exactly match parser 2016-09-13 09:40:17 -07:00
Gabriel Gonzalez
77c45103b3 Update documentation 2016-09-13 08:36:39 -07:00
Gabriel Gonzalez
9e8c86e93f Change parser to allow chained type annotations 2016-09-13 08:35:56 -07:00
Gabriel Gonzalez
df373c6408 Fix remaining ambiguous parses 2016-09-12 23:21:28 -07:00
Gabriel Gonzalez
66fc7ed6c2 Fix several ambiguous parses 2016-09-12 22:10:46 -07:00
Gabriel Gonzalez
d6a06d481f Fix some ambiguous parses 2016-09-12 22:03:05 -07:00
Gabriel Gonzalez
170387cf3a Add built-in support for list concatenation 2016-09-12 21:57:12 -07:00
Gabriel Gonzalez
a8d8fa51f8 Fix support for parsing empty lists 2016-09-12 21:33:52 -07:00
Gabriel Gonzalez
a4c2b5bca7 Update documentation 2016-09-12 21:27:47 -07:00
Gabriel Gonzalez
5cc537824b Update documentation 2016-09-12 21:20:55 -07:00
Gabriel Gonzalez
d0a77b1ff7 Update documentation 2016-09-11 21:59:33 -07:00
Gabriel Gonzalez
86e76fc7c3 Remove unused dependencies 2016-09-11 21:59:27 -07:00
Gabriel Gonzalez
a87086c272 Remove some parsing ambiguities 2016-09-11 21:52:56 -07:00
Gabriel Gonzalez
98078e9b4a Polish error messages 2016-09-11 21:49:18 -07:00
Gabriel Gonzalez
44d3c0a9ab Improve parsing error messages 2016-09-11 21:41:31 -07:00
Gabriel Gonzalez
d3998b09a2 Switch to happy for parsing and simplify the alex lexer 2016-09-11 20:38:37 -07:00
Gabriel Gonzalez
f6990dd1af Update tutorial 2016-09-11 10:55:34 -07:00
Gabriel Gonzalez
b8fd34c894 Polish error messages 2016-09-11 10:21:00 -07:00
Gabriel Gonzalez
4b9a82fe9b Polish error messages 2016-09-11 10:18:08 -07:00
Gabriel Gonzalez
a350969c8c Polish error messages 2016-09-11 09:58:40 -07:00
Gabriel Gonzalez
055179820a Update documentation 2016-09-11 09:39:31 -07:00
Gabriel Gonzalez
25e3128726 Improve error messages for arithmetic 2016-09-11 09:36:42 -07:00
Gabriel Gonzalez
6cf96b4b21 Improve error message for (++) 2016-09-11 08:18:52 -07:00
Gabriel Gonzalez
1f012f96cd Improve error message for (||) 2016-09-11 08:16:00 -07:00
Gabriel Gonzalez
2ab0741db3 Improve error message for (&&) 2016-09-11 08:08:01 -07:00
Gabriel Gonzalez
dc21e59c2a Improve error message for missing fields 2016-09-10 20:46:15 -07:00
Gabriel Gonzalez
4658791b97 Update documentation 2016-09-10 20:40:02 -07:00
Gabriel Gonzalez
e83cbc6c99 Fix lexing of Doubles 2016-09-10 20:39:21 -07:00
Gabriel Gonzalez
461bf92fc5 Improve error messages for record access 2016-09-10 20:36:45 -07:00
Gabriel Gonzalez
05a01bc02b Improve error message for key types 2016-09-10 20:25:28 -07:00
Gabriel Gonzalez
f7205d0753 Improve element type errors 2016-09-10 17:37:34 -07:00
Gabriel Gonzalez
743c2c2623 Improve error message for list element type 2016-09-10 17:22:14 -07:00
Gabriel Gonzalez
70c8c0ad1e Improve error message for mismatched if branches 2016-09-10 17:15:37 -07:00
Gabriel Gonzalez
ab2fba3e25 Improve error message for if predicate 2016-09-10 17:01:36 -07:00