←back to thread

Uncertain<T>

(nshipster.com)
444 points samtheprogram | 2 comments | | HN request time: 0.412s | source
1. krukah ◴[] No.45056184[source]
Monads are really undefeated. This particular application feels to me akin to wavefunction evolution? Density matrices as probability monads over Hilbert space, with unitary evolution as bind, measurement/collapse as pure/return. I guess everything just seems to rhyme under a category theory lens.
replies(1): >>45056360 #
2. valcron1000 ◴[] No.45056360[source]
Relevant (2006): https://web.engr.oregonstate.edu/~erwig/pfp/