Elektrine lite

← Feed

@pretz@mastodon.social

Post #1414456

2025-10-30 05:57 UTC

@Catfish_Man I would love a more concise syntax for “some Collection” I would use it a lot more if it didn’t always look like I was being overly clever.

Replies (2)

  • @axiixc@social.axiixc.com 2025-10-30 06:08

    @pretz @Catfish_Man it might be that I’ve just seen too much SwiftUI, but the `some`s eventually faded into the background for me. Choosing between Sequence, Collection, and RandomAccessCollection continues to trip me up however. 😓

    Open ##1414457

  • @numist@xoxo.zone 2025-10-30 14:57

    @pretz @catfish_man I wish we had named generic parameters.

    Open ##1414458