Brendan Hansknecht
e65f14fa49
Merge pull request #6090 from Gungy2/5830
...
Add `log` function to `Dec`
2023-12-01 22:02:35 -08:00
Richard Feldman
a557957415
Merge pull request #6145 from roc-lang/improve-str-docs
...
Fix Str.walkUtf8 docs
2023-12-01 21:53:12 -05:00
Richard Feldman
421f8d9c5c
Fix Str.walkUtf8 docs
2023-12-01 20:49:58 -05:00
Brendan Hansknecht
738098bfd0
Merge branch 'main' into 5830
2023-12-01 16:37:33 -08:00
Anton-4
14cc1544e8
Merge pull request #6141 from CrepeGoat/patch-1
...
Update README.md
2023-12-01 20:30:07 +01:00
Becker A
243f53620e
Update README.md
...
fixed (what I assume is) a typo
Signed-off-by: Becker A. <awqatty.b@gmail.com>
2023-12-01 12:00:30 -07:00
Richard Feldman
3b44a33a9c
Merge pull request #6136 from roc-lang/revert-nix-changes
...
Revert "Merge pull request #6113 from JRMurr/nix-build-file-sets"
2023-12-01 13:12:52 -05:00
Anton-4
590140f182
Revert "Merge pull request #6113 from JRMurr/nix-build-file-sets"
...
This reverts commit f7841f0d1c
, reversing
changes made to b4506a4dac
.
2023-12-01 18:48:12 +01:00
Anton-4
dc37b7a31d
Merge pull request #6132 from roc-lang/use-basic-cli-7
...
use latest basic-cli
2023-12-01 16:37:04 +01:00
Anton-4
f7841f0d1c
Merge pull request #6113 from JRMurr/nix-build-file-sets
...
Use nix file set API to reduce how often we will need to rebuild
2023-12-01 15:57:15 +01:00
Anton-4
b4506a4dac
Merge pull request #6095 from CrepeGoat/patch-1
...
Fixed `roc format --stdin --stdout` to format output
2023-12-01 15:27:05 +01:00
Anton-4
cc8966e37d
Update ingested_file_bytes test
...
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-12-01 12:49:31 +01:00
Anton-4
a050933955
use latest basic-cli
2023-12-01 12:33:09 +01:00
Ayaz
a56d7adc17
Merge pull request #6128 from roc-lang/debug-auto-opaque
...
Make sure late specializations of opaques inherit Inspect as needed
2023-12-01 00:42:11 -06:00
Ayaz Hafiz
a53da2bc24
Make sure late specializations of opaques inherit Inspect as needed
...
A "late specialization" of a type is an ability specialization that
is not visible or needed until after type-specialization; i.e. during
monomorphization.
The `Inspect.toInspector` ability is special-cased for opaques that do
not claim or explicitly implement `Inspect`. In such cases, they are
treated as structural types, and given the immediate specialization of
`Inpect.inspectOpaque`.
However, prior to this commit, that special-casing would only be applied
during early specialiation (i.e. specializations visible during
generalized type inference). This commit applies the special case to
late specialization as well - the specialization decision for an opaque
type is always the specialization of the opaque type in the late case,
but now, when we go to look up the ambient lambda set of the
specialization, if it does not exist and corresponds to
`Inspect.toInspector`, we fall back to the immediate.
One concern I have here is that in a case like
```
Op := {}
x =
dbg (@Op {})
```
the specialization of `Inspect.toInspector` for `Op` should be known
early. Indeed, the program
```
Op := {}
x =
Inspect.toInspector (@Op {}) |> Inspect.apply (Inspect.init {}) |> Inspect.toDbgStr
```
Compiles fine without this change. This makes me suspect there is an
issue with the implementation of `dbg`'s desugaring. If possible, this
should be addressed sooner rather than later.
Closes #6127
2023-11-30 22:25:08 -06:00
Luke Boswell
7d2b8a509d
Merge pull request #6126 from roc-lang/github-link
...
Add github link to website
2023-12-01 13:45:10 +11:00
Luke Boswell
dc0b5eeab2
add github link to website
2023-12-01 13:38:45 +11:00
Richard Feldman
9f60e6027c
Merge pull request #6125 from roc-lang/add-drew-lazzeri
...
Add @asteroidb612 to sponsors
2023-11-30 20:10:18 -05:00
Richard Feldman
91886ce8a0
Add @asteroidb612 to sponsors - thank you so much! ❤️
2023-11-30 20:07:45 -05:00
Richard Feldman
4798760229
Merge pull request #6124 from roc-lang/prevent-spellcheck
...
Add spellcheck attribute for REPL
2023-11-30 19:41:59 -05:00
Richard Feldman
25acbfaf7e
Merge pull request #6123 from roc-lang/fix-css
...
Fix css for .color-white class
2023-11-30 19:41:21 -05:00
Luke Boswell
de5847a875
add spellcheck attribute for REPL
2023-12-01 11:25:58 +11:00
Luke Boswell
16834a47ff
fix css error color
2023-12-01 11:06:34 +11:00
Brendan Hansknecht
02d97bccec
Merge pull request #6116 from roc-lang/dbg-with-inspect
...
Dbg with inspect
2023-11-30 12:38:04 -08:00
Luke Boswell
996ff79f19
Merge pull request #6122 from ducdetronquito/patch-1
...
Tutorial - Fix broken examples link
2023-12-01 07:26:02 +11:00
ducdetronquito
92952a3b8f
Tutorial - Fix broken examples link
...
Signed-off-by: ducdetronquito <ducdetronquito@users.noreply.github.com>
2023-11-30 21:03:38 +01:00
Brendan Hansknecht
9f1f0610d1
disable flaky glue test for now
2023-11-29 23:17:11 -08:00
Brendan Hansknecht
7b53f08e75
hopefully fix glue platform exit code issue
2023-11-29 22:45:12 -08:00
Brendan Hansknecht
88106d1659
add basic roc_dbg impl to c platforms
2023-11-29 22:02:27 -08:00
Brendan Hansknecht
3e66254b25
update zig and rust platforms to have correct roc_panic and roc_dbg
2023-11-29 21:49:34 -08:00
Becker A
c5ad8da2c0
Merge branch 'main' into patch-1
2023-11-29 22:09:12 -07:00
Brendan Hansknecht
1f14aa84a2
misc cleanup suggestions
2023-11-29 21:05:56 -08:00
Brendan Hansknecht
b62c9667d5
Correct typo
...
Co-authored-by: Ayaz <20735482+ayazhafiz@users.noreply.github.com>
Signed-off-by: Brendan Hansknecht <Brendan.Hansknecht@gmail.com>
2023-11-29 21:05:49 -08:00
Brendan Hansknecht
f5fb01fd53
Get tests passing
...
Add roc_dbg to some platforms.
Also start updating some roc_panic impls.
2023-11-29 21:05:49 -08:00
Brendan Hansknecht
e6cc43492a
rip out old dbg and setup reasonable base debug location info
2023-11-29 21:05:49 -08:00
Brendan Hansknecht
3d6c140a30
get minimal roc_dbg
working
2023-11-29 21:05:49 -08:00
Brendan Hansknecht
b7f72eff86
add basic Dbg desugaring and LowLevelDbg
2023-11-29 21:05:48 -08:00
Ayaz
3f276b6018
Merge pull request #6117 from roc-lang/fix-mono-tsets
...
Fix mono tests
2023-11-29 20:09:22 -06:00
Richard Feldman
10470f33cc
Fix mono tests
2023-11-29 21:02:37 -05:00
Becker A
1cf2a4e738
Merge branch 'main' into patch-1
2023-11-29 18:17:02 -07:00
John Murray
05f896e7e8
remove todo comments that are not relevant
2023-11-29 20:06:46 -05:00
Brendan Hansknecht
ead90313d8
Merge pull request #5775 from roc-lang/inspect-derive
...
Derive Inspect
2023-11-29 08:22:27 -08:00
Anton-4
bdebfc7550
Merge pull request #6114 from roc-lang/nix-store-ci-cleanup
...
add daily nix cleanup workflow
2023-11-29 16:04:00 +01:00
Anton-4
684bdfbfd3
remove PR trigger
2023-11-29 14:37:30 +01:00
Anton-4
d0b5c35121
add daily nix cleanup workflow
2023-11-29 14:34:58 +01:00
Anton-4
f3a27e2a17
minor cleanup
...
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-11-29 13:59:51 +01:00
Folkert de Vries
b526fcc4d0
Merge pull request #6112 from roc-lang/force-thunk-fresh-symbol
...
in record fields give a forced imported thunk a unique symbol
2023-11-29 13:20:41 +01:00
Luke Boswell
1382059195
Merge pull request #6111 from lukewilliamboswell/tutorial-updates
...
Tutorial Updates
2023-11-29 20:33:42 +11:00
John Murray
625249029a
dont check www
2023-11-28 23:30:37 -05:00
John Murray
4b21d74f32
cleanup some comments
2023-11-28 23:13:19 -05:00