Folkert
e549ea78fe
simplify HostSpecializations
2023-07-24 21:33:05 +02:00
Folkert
2756c9af35
switching constraint order fixes things
2023-07-24 21:24:34 +02:00
Folkert
557c3987e0
make it work
2023-07-24 21:24:33 +02:00
Folkert
43adf0635e
freshen annotations
2023-07-24 21:24:33 +02:00
Ayaz
d3ccdb51ea
Merge pull request #5670 from roc-lang/checkmate-ui-scaffold
...
Checkmate UI scaffold
2023-07-23 19:43:27 -05:00
Richard Feldman
64c49ddbc9
Improve some List docs
2023-07-23 13:59:27 -04:00
Ayaz
6225b80e01
Merge pull request #5668 from roc-lang/checkmate
...
Add "checkmate", a tool for the solver
2023-07-19 12:38:20 -05:00
Ayaz Hafiz
84165d21f4
More improvements
2023-07-18 11:24:50 -05:00
Ayaz Hafiz
8388c93e62
A bunch of improvements
2023-07-17 18:55:59 -05:00
Richard Feldman
aafefb12b2
Fix lambda set numbering issue
2023-07-17 14:09:17 -04:00
Ayaz Hafiz
2b6b1d858d
Colors
2023-07-17 10:24:52 -05:00
Ayaz Hafiz
828b1bd060
Add static data for now
2023-07-17 10:24:44 -05:00
Ayaz Hafiz
18f381e782
ErasedLambda
2023-07-17 10:13:11 -05:00
Ayaz Hafiz
7d3e7ffdfb
Load up
2023-07-17 10:12:18 -05:00
Ayaz Hafiz
87bb6c8437
Start supporting printing unifications
2023-07-17 10:12:18 -05:00
Ayaz Hafiz
9e055dcf53
Basis support for inspecting types
2023-07-17 10:12:17 -05:00
Ayaz Hafiz
8b7823a237
Fix types
2023-07-17 10:10:50 -05:00
Ayaz Hafiz
dac4d842d8
Fix types
2023-07-17 09:52:14 -05:00
Ayaz Hafiz
b3ccc905a4
Fix some checkmate bad schemas
2023-07-17 09:51:01 -05:00
Ayaz Hafiz
fcd733e1df
Dump roc checkmate
2023-07-17 09:51:01 -05:00
Ayaz Hafiz
1282110ef5
Push checkmate through load
2023-07-17 09:51:00 -05:00
Ayaz Hafiz
27dd9d03aa
Stub out checkmate react app
2023-07-17 09:50:38 -05:00
Ayaz Hafiz
271d2a3219
Refactor the schema for granularity
2023-07-17 09:50:37 -05:00
Ayaz Hafiz
358681a464
Generate schema for checkmate
2023-07-17 09:50:37 -05:00
Ayaz Hafiz
f78919cd2e
Add JsonSchema
2023-07-17 09:50:37 -05:00
Ayaz Hafiz
d7a30966c1
Add explicit casts
...
For some reason these can no longer be inferred.
2023-07-17 09:50:37 -05:00
Ayaz Hafiz
8d1d4e6df3
debug import
2023-07-17 09:50:37 -05:00
Ayaz Hafiz
c9d2c4d4cd
Drop unused schema
2023-07-17 09:50:37 -05:00
Ayaz Hafiz
d6c24accef
Schema unification mode
2023-07-17 09:50:37 -05:00
Ayaz Hafiz
5ea9bd19b2
Unify on roots
2023-07-17 09:50:37 -05:00
Ayaz Hafiz
18e9f8f034
Move unify::Mode to roc_solve_schema
2023-07-17 09:50:36 -05:00
Ayaz Hafiz
87d108eccc
Push checkmate through env
2023-07-17 09:48:59 -05:00
Ayaz Hafiz
8097ee3342
Hide subs behind Env deref
2023-07-17 09:48:57 -05:00
Ayaz Hafiz
1df2e942a2
Add a collector of unification + solve events
2023-07-17 09:47:57 -05:00
Ayaz Hafiz
40223a697d
First pass of checkmate schema
2023-07-17 09:47:57 -05:00
Ayaz Hafiz
93513cffae
pub is_signed
2023-07-17 09:47:57 -05:00
Ayaz Hafiz
a21e016032
Make public
2023-07-17 09:47:57 -05:00
Ayaz Hafiz
879719b166
s/width/min_width
2023-07-17 09:47:57 -05:00
Ayaz
b36ad76cdd
Merge pull request #5576 from roc-lang/spike-erasure
...
Implement function erasure
2023-07-17 03:27:29 -05:00
Folkert
48fa4f7a8e
When possible, prefer NonNullableUnwrapped over NullableWrapped
...
e.g. in the scenario of `[ A Str, B, C, D ]`, rather than having one tag be nullable, we want
to store the tag id in the pointer. This generally saves 8 bytes for
every allocation, and prevents an allocations for all tags except A.
2023-07-16 20:06:46 +02:00
Ayaz Hafiz
016862ca28
Fix types
2023-07-12 17:52:05 -05:00
Ayaz Hafiz
00730be6fb
Fix doc comments
2023-07-12 17:16:12 -05:00
Ayaz Hafiz
a2574a5a98
Update vars
2023-07-12 17:01:31 -05:00
Ayaz Hafiz
fea41000e5
Update mono tests
2023-07-12 17:00:55 -05:00
Ayaz Hafiz
baf6c6f712
Make sure to specialized erased at least once
2023-07-12 16:43:22 -05:00
Ayaz Hafiz
3a3ee4dedf
Elide lifetimes
2023-07-12 16:10:59 -05:00
Ayaz Hafiz
937e042c8f
Fixed erased with nullable unwrapped union
2023-07-12 16:01:44 -05:00
Ayaz Hafiz
5e9a06e537
Boxed helpers
2023-07-12 15:55:25 -05:00
Ayaz Hafiz
a8d821bf87
Remove all box references
2023-07-12 15:50:00 -05:00
Ayaz Hafiz
b5db3f68e1
Add experimental flag for roc_erase
2023-07-12 14:46:37 -05:00