Skip to content

Update function casting syntax after move to Scala 3 #234

@michel-steuwer

Description

@michel-steuwer

We should update the current function casting syntax

k.as[In `=` Array[Array[Float]] `,` Array[Float], Out[Array[Float]]]

towards

k.asFun[Args[Array[Array[Float]] `,` Array[Float]] => Array[Float]]

once we have moved to Scala 3. A sketch implementation is available here:
https://scastie.scala-lang.org/ndV4Xu8RQZWlZRYCc6GAig

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions