Commit graph

20247 commits

Author SHA1 Message Date
Ayaz Hafiz
16d12a51c2
Add Eq to the standard library 2022-10-12 16:37:48 -05:00
Ayaz
b2e7fd91ab
Merge pull request #4302 from roc-lang/serialize-ability-store
Serialize the abilities store and solved implementations for builtins
2022-10-12 16:37:16 -05:00
Brendan Hansknecht
c466e51bb0
Merge pull request #4317 from snprajwal/list-countif
builtin(list): add List.countIf
2022-10-12 21:27:49 +00:00
Prajwal S N
a3e6345257
builtin(list): add List.countIf
Closes #4174

Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
2022-10-13 00:45:13 +05:30
Anton-4
795bd3ff09
Merge pull request #4310 from cjduncana/fix-article
Fix typo in error
2022-10-12 16:12:33 +02:00
Christopher Duncan
d7cdcfc66b
Fix typo in error 2022-10-12 08:26:33 -04:00
Anton-4
fb926c9884
Merge pull request #4306 from jmakhack/newline-repl-tip
Add how to newline repl tips at start-up
2022-10-12 12:47:16 +02:00
Brendan Hansknecht
8f8e6bebeb
Merge pull request #4295 from roc-lang/str-growth
Add capacity growth to RocStr
2022-10-12 06:41:14 +00:00
Josh Mak
20fcacbcd6
Add how to newline repl tips at start-up 2022-10-11 18:25:08 -07:00
Anton-4
f7cb015b6b
Merge pull request #4293 from cjduncana/ci-format-check
Add a GitHub action step to test builtins format
2022-10-11 19:25:07 +02:00
Anton-4
de99ef1a96
move format check up
also added --locked and --release

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-10-11 18:45:52 +02:00
Ayaz Hafiz
a9c79db5db
Allow complicated type 2022-10-11 10:49:24 -05:00
Ayaz Hafiz
76ce025faa
Turn on type caching for Encode, Decode, Hash 2022-10-11 10:48:25 -05:00
Ayaz Hafiz
7e79ff55f1
Serialize abilities store and solved implementations with subs 2022-10-11 10:31:21 -05:00
Anton-4
f5e97f5076
Merge pull request #4300 from cjduncana/fix-prefetch
Fix prefetch links in the Standard Library page
2022-10-11 17:05:49 +02:00
Brendan Hansknecht
e551e59c1c
refactor string reallocation 2022-10-11 07:56:34 -07:00
Ayaz Hafiz
46eb427393
Use roc_serialize in serializing abilities store, and add tests 2022-10-11 09:41:47 -05:00
Ayaz Hafiz
46aab8ad8c
Use roc_serialize for subs serialization 2022-10-11 09:19:25 -05:00
Ayaz Hafiz
ad10bf07c5
Allow serializing into a VecSet via Vec 2022-10-11 09:15:15 -05:00
Ayaz Hafiz
e880c45c8b
Implement serde for VecMap 2022-10-11 09:01:45 -05:00
Ayaz Hafiz
a5dbdf0b02
Add a roc_serialize crate for serialization utilities 2022-10-11 08:52:19 -05:00
Anton-4
46920d3c08
simplify format
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-10-11 15:47:09 +02:00
Christopher Duncan
5ccd3c884d
Fix prefetch links in the Standard Library page 2022-10-11 08:00:11 -04:00
Christopher Duncan
86881ed999
Add a GitHub action step to test builtins format
This resolves #2814
2022-10-11 07:15:10 -04:00
Anton-4
940be28ef0
Merge pull request #4296 from roc-lang/fix-repl-link
www: fix REPL link
2022-10-11 10:28:12 +02:00
Brian Carroll
36a8a2a99f
Merge pull request #4271 from roc-lang/s-for-search
Search docs with S instead of /
2022-10-11 08:30:50 +01:00
Brian Carroll
8e65462887
www: fix REPL link 2022-10-11 08:13:25 +01:00
Anton-4
b3ab54ac90
Merge pull request #4292 from cjduncana/ci-markdown-links
Add Markdown Link Check action
2022-10-11 08:42:59 +02:00
Brendan Hansknecht
ac33fd3237
fix wasm test 2022-10-10 23:18:06 -07:00
Anton-4
0402e8d22c
version changes
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-10-11 07:27:16 +02:00
Brendan Hansknecht
96b5d365b2
Add capacity growth to RocStr
Also, cleans up the alloc and realloc api for both list and str.
Updates Str.reserve to match List.reserve
2022-10-10 22:24:55 -07:00
Ayaz
cc90709879
Merge pull request #4294 from roc-lang/fix-main
Resolve merge conflict regarding tag name slices
2022-10-11 00:06:10 -05:00
Ayaz Hafiz
80e0690a70
Resolve merge conflict regarding tag name slices 2022-10-11 00:00:41 -05:00
Brendan Hansknecht
dfcb72602d
Merge pull request #4287 from roc-lang/remove-old-result
[Easy Review] Remove RocResult from utils.zig
2022-10-11 03:54:12 +00:00
Ayaz
83b64c4fb3
Merge pull request #4209 from roc-lang/impl-tag-discriminant
Derive `Hash` implementations for tag unions
2022-10-10 22:23:05 -05:00
Christopher Duncan
b13b1584b1
Add Markdown Link Check action 2022-10-10 22:05:40 -04:00
Ayaz Hafiz
9131a55a72
First pass at serializing the abilities store 2022-10-10 19:32:17 -05:00
Ayaz Hafiz
781d1a2642
Serialize uls_of_var in subs cache 2022-10-10 16:42:04 -05:00
Richard Feldman
5a7211d874
Merge pull request #4231 from roc-lang/new-website
Revise roc-lang.org homepage
2022-10-10 08:33:36 -07:00
Richard Feldman
60c0ec5944
Add Netlify link so we can get an Open Source plan 2022-10-10 11:32:40 -04:00
Richard Feldman
caacc0a4e5
Call out closures as being notably performant 2022-10-10 11:32:40 -04:00
Richard Feldman
0faafb60b1
Mention hot code loading not started yet 2022-10-10 11:32:40 -04:00
Richard Feldman
f0c8f2688f
Revise the performance goals section more 2022-10-10 11:32:39 -04:00
Richard Feldman
a6c2dcedf3
Revise monomorphization description on homepage
Co-authored-by: Ayaz <20735482+ayazhafiz@users.noreply.github.com>
Signed-off-by: Richard Feldman <oss@rtfeldman.com>
2022-10-10 11:32:39 -04:00
Richard Feldman
2bd9870995
Expand list of Roc's applications on homepage
Co-authored-by: Ayaz <20735482+ayazhafiz@users.noreply.github.com>
Signed-off-by: Richard Feldman <oss@rtfeldman.com>
2022-10-10 11:32:39 -04:00
Richard Feldman
0690812ac6
Revise wording of performance section. 2022-10-10 11:32:39 -04:00
Richard Feldman
753ae12f50
Revise some explanations of dev backend 2022-10-10 11:32:39 -04:00
Richard Feldman
92c1a78f00
Fix typo 2022-10-10 11:32:39 -04:00
Richard Feldman
c9d0ed8490
Extract out homepage.css 2022-10-10 11:32:38 -04:00
Richard Feldman
287cde00cd
Update roc-lang.org homepage 2022-10-10 11:32:38 -04:00