5 ms·
Woah, this seems like a lovely abstraction. Seems like the guard does the magic. Does anyone know if there are advancements along these lines?
by tlarkworthy 12y ago
Woah, this seems like a lovely abstraction. Seems like the guard does the magic. Does anyone know if there are advancements along these lines?
- rfergie 12y agohttps://hackage.haskell.org/package/hakaru https://hackage.haskell.org/package/hakaru might be worth looking at
- noelwelsh 12y agoProbabilistic programming is the natural extension of this line of development. It's an active area of research. Two such languages implemented in Scala are Figaro and Factorie. Not sure about Haskell. (Also, weird reading a comment I made on that blog 8 years ago!)
- pseudonom- 12y agoThere's a library at https://hackage.haskell.org/package/probability https://hackage.haskell.org/package/probability and a paper explaining the library at http://web.engr.oregonstate.edu/~erwig/papers/PFP_JFP06.pdf http://web.engr.oregonstate.edu/~erwig/papers/PFP_JFP06.pdf.