Folkert
4db09b10aa
refactor ClosureLayout
2020-10-21 13:38:46 +02:00
Folkert
3408a31453
preparations for specializing closures
2020-10-20 00:33:10 +02:00
Folkert
6d866ff58d
so defs get different treatment...
2020-10-19 15:44:32 +02:00
Folkert
607799b96e
steps towards closures and Effects
2020-10-17 20:53:57 +02:00
Folkert
edfc96628e
WIP
2020-10-17 14:53:57 +02:00
Folkert
70a53bd544
cleanup
2020-10-17 00:56:40 +02:00
Folkert
d931c8994a
fix most type inference issues
2020-10-16 20:50:42 +02:00
Folkert
40ffca2b7b
IT WORKS
2020-10-16 00:18:40 +02:00
Folkert
de8ad07f2e
Merge branch 'top-level-thunks' into sized-functions-inference
2020-10-14 21:58:53 +02:00
Folkert
c8e5acf142
code gen Accessor
2020-10-03 21:44:04 +02:00
Folkert
e9f5c1a73c
actually infer the size
2020-10-02 22:33:31 +02:00
Folkert
2e1e87ad6a
add closure size variable
2020-10-02 00:53:02 +02:00
Sébastien Besnier
f319fdad79
Tag with no args in error msgs ( #471 )
2020-09-05 08:42:40 +02:00
Richard Feldman
37a254cef3
Interpolate strings by desugaring to Str.concat
...
We could definitely make this more efficent by
allocating enough space for the final string
and then copying the contents of each of the pieces
into it one by one. We don't do that yet though!
2020-08-31 23:14:45 -04:00
Richard Feldman
274e7e786d
Constrain string interpolation
2020-08-31 23:13:50 -04:00
Richard Feldman
f35e43768a
Get things compiling
2020-08-31 23:13:50 -04:00
Folkert
b4c5c2f793
add variable to list
...
stores the list type, so we can know whether it is unique
2020-08-10 21:05:57 +02:00
Folkert
a82cc7f28f
fix weird region in error messages
2020-07-21 16:20:03 +02:00
Folkert
b45b39af5e
optional fields improvements
2020-07-21 15:25:21 +02:00
Folkert
e93c04a8ce
improved error messages for function definitions
2020-07-20 21:38:21 +02:00
Richard Feldman
7330e82f75
Constrain optional fields
2020-07-18 14:51:18 -04:00
Richard Feldman
8fc9a450b3
Canonicalize optional record fields
2020-07-18 13:12:13 -04:00
Richard Feldman
1cd49689c2
Merge remote-tracking branch 'origin/trunk' into low-level-ops
2020-07-07 21:09:50 -04:00
Folkert
474d164a8c
fix some comments
2020-07-03 16:21:09 +02:00
Folkert
744b8ce32b
fix todos regarding InvalidCycle
2020-07-03 15:42:24 +02:00
Richard Feldman
f350c0ed52
Fix List.len monomorphization
2020-06-23 21:14:23 -04:00
Richard Feldman
dd8dff0f9e
Fix some unary ops
2020-06-23 19:17:39 -04:00
Richard Feldman
56c637e399
Fix some constraint gen
2020-06-21 16:48:44 -04:00
Richard Feldman
461e166254
wip
2020-06-20 13:59:04 -04:00
Richard Feldman
dec5c3a062
Get low-level ops compiling
2020-06-19 20:07:04 -04:00
Richard Feldman
0a9989e75f
wip
2020-06-06 23:41:12 -04:00
Richard Feldman
887ec9860a
wip
2020-05-26 21:19:46 -04:00
Folkert
7632a4b484
highlight code snippets better
2020-04-12 20:59:16 +02:00
Folkert
d15bd07bf4
de-alias when diffing with a non-alias
...
When one of the types in a comparison is an alias, elm does not de-alias it.
That is really annoying if e.g. the alias is of a record and you used an invalid field: the field suggestion error does not kick in
2020-04-11 23:57:00 +02:00
Folkert
2811f978a4
make a Index data type
2020-04-11 20:40:25 +02:00
Folkert
ab19529077
record update hints
2020-04-11 14:55:12 +02:00
Folkert
7f999a06f3
add When pattern errors
2020-04-07 18:06:00 +02:00
Folkert
02e42b0abc
add from annotation cases
2020-04-06 22:59:21 +02:00
Folkert
2d6e47b8a6
test for record diff
2020-04-06 21:40:54 +02:00
Folkert
5b0d9e693b
record update value
2020-04-05 00:15:38 +02:00
Folkert
f8b3d5dce7
elem_in_list
2020-04-05 00:15:38 +02:00
Folkert
200adae507
when_branch_mismatch
2020-04-05 00:15:38 +02:00
Folkert
a2a79925b3
complete add_category
2020-04-03 16:10:41 +02:00
Richard Feldman
98f4f46248
Special-case 2-branch if/else errors
2020-04-03 01:51:42 -04:00
Folkert
1981a7e467
refactor and clean up
2020-04-03 01:20:35 +02:00
Folkert
2e822e739f
report circular type error
2020-04-02 23:13:35 +02:00
Folkert
8642cfeae0
report first type error
2020-04-01 23:37:05 +02:00
Folkert
106a3646bf
add category to Eq constraint
2020-04-01 20:09:10 +02:00
Folkert
bd7ad318cf
fix bug in guard constraint gen
2020-03-21 15:12:01 +01:00
Folkert
920928399a
type inference for pattern guards
2020-03-21 00:39:52 +01:00