Skip to content

support types in @non_differentiable #213

Description

@oxinabox

Follow up from #212
it doesn't seem to work write with types.
e.g. @non_differentiable Channel(Any, Any)
at least it doesn't seem to work right an play nice with Zygote.

I know one thing that needs to be changes is to use Core.Typeof($primal_name) rather typeof($primal_name) in the signatio.
because Core.typeof(Channel) is Type{Channel} where as typeof(Channel) is DataType (for others it would be a UnionAll I think)
buit I don't think that is the only thing that prevents it working nice with Zygote.

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

    bugSomething isn't workingrule definition helperrelating to helpers for declaring rules

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions