Skip to content

Add support for NSCountedSet #49

@robb

Description

@robb

This one is a little more tricky since NSCountedSet inherits from NSMutableSet.

Since we would want ASTMap(countedSet, block); to be equivalent to ASTMap((NSSet *)countedSet, block);, "unrolling" versions of map et. al. would need an extra parameter.

E.g.:

// if unroll is YES, calls the block multiple times per element.
NSCountedSet *ASTMap(NSCountedSet *set, BOOL unroll, id(^block)(id obj));

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions