Using phantom types to track the state of a process (started/stopped/loaded) is fun. Can ensure that processes are properly loaded/initialized before you can pass it to a function:
github.com/jb55/asgard/blob/…
2
1
5


