Flashes Home Search Notifications Sign in Post
ReScript @rescript-lang.org · Jan 15

One approach is using separate records for grouping related props, and then use record spreads to share them. Playground: rescript-lang.org/try?version=...

2 likes 1 replies

?

Replies

Paweł Świątkowski · Jan 15

This is nice! However does not address my main concern that, when I have array<t>, for shared properties I need a lot of getters like this. But maybe it is idiomatic ReScript after all.

Legal

Privacy Policy Terms and Conditions

Contact

FAQs Feedback

Follow

Bluesky Instagram Threads
Flashes for Bluesky Get it on the App Store

Feeds

  • Global
  • Trending
  • Blacksky Images
  • Photography
  • Discover
Browse all feeds
Feedback Ideas, bugs, and what ships next
Privacy Policy Terms and Conditions FAQs Bluesky Instagram Threads
Get it on the App Store