▲ | jakubmazanec 5 days ago | ||||||||||||||||
[flagged] | |||||||||||||||||
▲ | frizlab 5 days ago | parent | next [-] | ||||||||||||||||
> And why does it need to be part of the type system? As presented in the article, it is indeed just a library. | |||||||||||||||||
▲ | geocar 5 days ago | parent | prev | next [-] | ||||||||||||||||
> What if I want Bayesian? Bayes is mentioned on page 46. > And why does it need to be part of the type system? It could be just a library. It is a library that defines a type. It is not a new type system, or an extension to any particularly complicated type system. > Am I missing something? Did you read it? https://www.microsoft.com/en-us/research/wp-content/uploads/... | |||||||||||||||||
| |||||||||||||||||
▲ | muxl 5 days ago | parent | prev | next [-] | ||||||||||||||||
It was chosen to be implemented as a generic type in this design because the way that uncertainty "pollutes" underlying values maps well onto monads which were expressed through generics in this case. | |||||||||||||||||
▲ | cobbal 5 days ago | parent | prev [-] | ||||||||||||||||
I don't think inference is part of this at all, frequentist or otherwise. It's not part of the type system, it's just the giry monad as a library. |