AlgebraicJulia / AlgebraicJulia/DiagrammaticEquations.jl

No-score type inference

Đang mở
#55 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Julia
Star
20
Fork
4
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.