Skip to content

Feature Request: Provide a default value #21

@phmarek

Description

@phmarek

Currently it's not possible to run

(incf (accesses o (1 :type array)) 15)

because the initial value is NIL, which can't be incremented.

How about allowing this here?

(incf (accesses o (1 :type array :default 0)) 15)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions