Skip to content

Does this work with generic type parameters? #12

@markknol

Description

@markknol

I'm looking into this library, looks very neat.
(Too lazy to check it out first, but) does this library support this:

static function sorted<T:Float, A:Array<T>>(arr:A):A {
  // ..
}

static function sorted<T:String, A:Array<T>>(arr:A):A {
  // ..
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions