AlgebraicJulia / AlgebraicJulia/DiagrammaticEquations.jl

No-score type inference

Aberta
#55 0 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Julia
Estrelas
20
Forks
4
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

When we type infer, we check to see that there are enough known types around to choose a rule. However, with user help we can implement a no-score type inference, allowing for even stronger inference.

Essentially, even if the user gives us that an operation is, for example `d_0`, we can only infer types if one is already known. But we know that this operator can only have a very specific src/tgt, so even if they were both `:infer`, we could guess that these types must be `Form0` and `Form1` respectively.

Implementing this may require two sets of rules for each op set that may then be combined together. One will have untyped generic names, like `d`, that require scoring and one will have typed names, like `d_0`, that can use the aggressive inference above.

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.