Skip to content

Special case type constraint to just _ (underscore) #498

@robfletcher

Description

@robfletcher

Originally reported on Google Code with ID 376

`as Foo` has a special meaning in an argument constraint, namely “argument of type Foo".
The common way to use it is `_ as Set` (“any argument of type Foo”). Perhaps we should
limit the special meaning to `_`, as I don't see much value in mixing a type constraint
with equality or closure constraints. (from pniederw@gmail.com)

Reported by quidryan on 2014-10-13 04:26:55

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions