Skip to content

default() guard should be documented / mentioned with mixin documentation #617

Description

@matthew-dean

The default mixin guard is documented, but it's somewhat buried in the functions section.

I think, since the default function is actually not really a function, and is instead more "function-like", it would make more sense to move it to mixin documentation, with maybe a brief reference in the functions section.

To add

I think what could be added to this documentation is a little more explanation of when a default function applies, in relation to overloading. That is, it appears that default() is only applied once mixins have been filtered for arity.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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