https://roc-lang.org just got a major overhaul - let's share it around! :smiley:
looks like someone has submitted it to Hacker News already - a tip about upvotes on HN: I've heard their "voting ring" detection system penalizes upvotes that result from direct URL visits to the story, so it's better to visit /newest
, find the story, and then upvote there
I see someone has already submitted it to lobste.rs as well ;)
I also shared the website on r/functionalprogramming and r/roc-lang :grinning_face_with_smiling_eyes:
I thought about r/programming but it may be too off topic for that broad a community.
Oh wait, somone beat me too it https://www.reddit.com/r/programming/s/o3vKA4w6o6
(deleted)
Great work everyone! It made me really happy to see all the praise for the new website.
I've encountered a small visual bug, in the documentation for builtins/Num
, which makes a page horizontally scrollable.
Screenshot was made in Firefox, in case it's browser related, but probably not.
https://www.roc-lang.org/builtins/Num
shot-2023-12-01-at-12-07-54-area.png
Em, seems like screenshot doesn't show the scrollbar itself, due to my configuration, but it's there when you visit the link.
haha, looks wild. I can see it.
Here is the markdown doc comment
## Another scenario where [F64] can be a better choice than [Dec] is when representing
## extremely small numbers. The smallest positive [F64] that can be represented without precision
## loss is 2^(−1074), which is about 5 * 10^(-324). Here is that number next to the smallest
## [Dec] that can be represented:
##
## * Smallest [F64]: 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005
## * Smallest [Dec]: 0.000000000000000001
I'm not sure how that is supposed to render in the browser :unsure:
Alright, i've found a source and will send a PR with a fix.
@Luke Boswell it was an easy fix via CSS
property.
PR has been sent .
I can look at this tomorrow ( :flag_australia: time) unless someone else looks at it before then. :grinning:
Thank you for fixing it.
Sure, no rush here :wink:
Last updated: Jul 26 2025 at 12:14 UTC