frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

LowType: Elegant Types in Ruby

https://github.com/low-rb/low_type
7•lowtype•2mo ago

Comments

Alifatisk•2mo ago
Actual types to Ruby code, with type checking? Am I dreaming?
oca159•2mo ago
It looks pretty similar to the literal gem, i think they are the same, would be great to have a comparison: https://literal.fun/docs/types.html
lowtype•2mo ago
I'm new to the Literal gem, it looks really well thought out. I think they differ in approach quite substantially though, it's reminding me more of Dry Struct: https://dry-rb.org/gems/dry-struct/main/

When there's time I could try to make a comparison table