rhombus-prototype
rhombus-prototype copied to clipboard
Brainstorming and draft proposals for Rhombus
I can't easily type double-angle quotation marks in Win/Linux. I tried \ll and \gg in Drracket, but they are different symbols. M-0171 and M-0187 work in Windows but don't work...
This is a rough draft of a generic collection API for Rhombus, as discussed in #201 and #221. This is nowhere near complete, and I'm only opening this draft pull...
A `PartialOrder` interface intended to be privately implemented. Comparison operators like `=~`, `~`, and so on. Equality within tolerance for testing with `within`. Markdown-rendered design: https://github.com/AlexKnauth/rhombus-prototype/blob/partial-order/design/partial-order/partial-order.md
Changes from @jackfirth's original #270: - [x] Rhombus unsyntax-splicing `$$` is now just `$` - [x] Rhombus assume-annotation `-:` is now `:~` - [x] Equatable uses recur now - [x]...
This is a draft PR I'm leaving up as a reference. It implements a hypothetical `equality:` macro for specifying what components of a class are relevant when comparing its instances...
Currently, namespaces can be extended, and classes double as namespaces. But that's not enough to support extension methods. I'd like this to work: ``` #lang rhombus export: Foo // includes...
Something that can be useful in veneers is to allow static operations to be partially overridden with fallback to the underlying representation’s dispatch. This pattern can be seen in `StringCI`,...
This is OK: ``` #lang rhombus fun foo(~x): x ``` This is not OK: ``` #lang rhombus fun foo(~x :: Number): x ``` which produces the error: ``` #%literal: not...