I think you can. The language seems well suited for such situations if you trust the compiler to use it in a critical situation.
Remember that in critical situations, not only your code is under close attention, but also all other components. This includes the compiler (the Haskell compiler is not one of the easiest code to verify), the corresponding certified hardware that runs the software, the appropriate hardware that compiles your code, the hardware that downloads the compiler, which will compile your code that connect all with a grid and the frequency of the voltage in the socket.
If you are interested in learning critical software quality, I suggest looking at NASA software quality procedures . They are very strict and formal, but these guys throw millions of dollars in space, hoping that he will survive in rather difficult conditions and go to Mars or anywhere, and then he works autonomously and sends beautiful photos of Martians to the earth.
So you go: Haskell is good for mission critical situations, but it would be an expensive process to load using it there.
Marcin
source share