Commit graph

9048 commits

Author SHA1 Message Date
Richard Feldman
ed7529a991 Use ref to avoid def.clone() 2019-12-01 21:37:15 -05:00
Richard Feldman
61825d5dab Fix Nested BinOp bug in Infixes 2019-12-01 21:25:13 -05:00
Richard Feldman
f069bf252c Fix bug with Nested and BinOp 2019-12-01 21:12:53 -05:00
Richard Feldman
02253883b2 Drop obsolete comment 2019-12-01 21:10:57 -05:00
Richard Feldman
5401676432 Fix an error message 2019-12-01 20:23:22 -05:00
Richard Feldman
eb6ec90cc6 Remove an unnecessary alloc() 2019-12-01 20:22:10 -05:00
Richard Feldman
e687b500d8 Replace some more clone()s with Nested 2019-12-01 20:20:09 -05:00
Richard Feldman
c9ebb03347 Introduce Pattern::Nested 2019-12-01 20:03:40 -05:00
Richard Feldman
7a94a0e576 Use Expr::Nested without infinite recursion 2019-12-01 20:03:19 -05:00
Richard Feldman
68aa33d8ba Introduce Expr::Nested 2019-12-01 19:42:41 -05:00
Richard Feldman
28ad949ef1
Merge branch 'trunk' into double-typecheck 2019-12-01 16:00:29 -05:00
Richard Feldman
aac8c2e1a4
Merge pull request #37 from rtfeldman/fix-typo
Fix typo
2019-12-01 16:00:17 -05:00
Richard Feldman
4dc3be968e Clarify recursive type aliases. 2019-12-01 15:48:47 -05:00
Richard Feldman
f7df4caebc Code formatting on desugaring table 2019-12-01 15:37:16 -05:00
Richard Feldman
579cc187be
Merge branch 'trunk' into double-typecheck 2019-12-01 15:11:34 -05:00
Richard Feldman
27a0457381
Fix typo 2019-12-01 15:08:10 -05:00
Richard Feldman
bf69363a2f
Merge pull request #35 from rtfeldman/roc-for-elm-programmers
Add "Roc for Elm programmers" guide
2019-12-01 12:58:02 -05:00
Richard Feldman
a1440488fd Revert table formatting. GitHub renders it weird. 2019-12-01 11:20:06 -05:00
Richard Feldman
d6c2c17644 Various small edits to roc-for-elm-programmers.md 2019-12-01 11:17:04 -05:00
Richard Feldman
83c8958f01 Add a section on tab application 2019-12-01 10:26:24 -05:00
Richard Feldman
ea0377de04 Add operator desugaring table 2019-12-01 10:21:22 -05:00
Richard Feldman
04fa514870 Add a section on the stdlib 2019-12-01 10:13:20 -05:00
Richard Feldman
26024e7998 Update some Str documentation 2019-12-01 10:12:59 -05:00
Richard Feldman
8bd186ba9c Add a section expalining case-expressions 2019-12-01 09:32:12 -05:00
Folkert
8ced6f27cf follow clippy 2019-12-01 13:53:44 +01:00
Folkert
6154c027d2 fully remove scope 2019-12-01 13:50:16 +01:00
Folkert
12baa2bd13 trim function arguments (scope and env) 2019-12-01 13:47:56 +01:00
Folkert
7c87320cc1 remove Clone deriving of subs 2019-12-01 13:33:08 +01:00
Folkert
d958c87cae rebase on top of master 2019-12-01 13:27:14 +01:00
Folkert
b86b53bdb9 flesh out all currently-supported patterns 2019-12-01 13:14:32 +01:00
Folkert
78fb5d42fb add case inference 2019-12-01 13:14:32 +01:00
Folkert
fdb3822b0e typecheck closures, makes all function-related tests pass 2019-12-01 13:14:32 +01:00
Folkert
f5bcc589fe rebase off of tail-recursion branch 2019-12-01 13:14:32 +01:00
Folkert
ac8a9b5065 use canonical Closure 2019-12-01 13:14:11 +01:00
Folkert
4917306a2f store all variables in the scope
This currently runs into some problems with the Expr generated from canonicalization.
2019-12-01 13:14:11 +01:00
Folkert
77b4eb9bbd make FunctionPointer/procedures work 2019-12-01 13:14:11 +01:00
Folkert
5e95699d75 add files 2019-12-01 13:13:06 +01:00
Richard Feldman
af35eeeced Add roc-for-elm-programmers.md 2019-11-30 23:55:49 -05:00
Richard Feldman
f32937e9b9
Merge pull request #34 from rtfeldman/tokio
Load and canonicalize modules (in parallel!)
2019-11-30 22:42:00 -05:00
Richard Feldman
2ad1520eb1 Satisfy clippy 2019-11-30 22:30:59 -05:00
Richard Feldman
9a0ae83e0d Update interface_with_deps test 2019-11-30 22:26:41 -05:00
Richard Feldman
fde17405f5 Make send_set_from helper 2019-11-30 22:14:31 -05:00
Richard Feldman
4e6fcd0eb0 Add Debug to Loaded 2019-11-30 22:14:23 -05:00
Richard Feldman
0693d2ff5e Use VarStore over Subs in loading 2019-11-30 21:45:39 -05:00
Richard Feldman
4de8f43ae1 Add Debug and Default to VarStore 2019-11-30 21:44:36 -05:00
Richard Feldman
46079d4dae Merge branch 'trunk' into tokio 2019-11-30 21:14:40 -05:00
Richard Feldman
7b0a45867c Use VarStore to initialize Subs in tests 2019-11-30 21:11:37 -05:00
Richard Feldman
e1fb0fa4e9 Canonicalize with VarStore over Subs 2019-11-30 20:56:53 -05:00
Richard Feldman
acc0933c65 Use usize for unification, not u32 2019-11-30 20:51:07 -05:00
Richard Feldman
3a151b6c24 wip 2019-11-30 20:36:35 -05:00