A function without any effect is called
totaland corresponds to mathematically total functions – a good place to be. Then we have effects for partial functions that can raise exceptions (exn), and potentially non-terminating functions asdiv(divergent). The combination ofexnanddivis calledpureas that corresponds to Haskell’s notion of purity. On top of that we find mutability (asst) up to full non-deterministic side effects inio.
1 Like