Generalise type of recently added System.Exit.die
authorHerbert Valerio Riedel <hvr@gnu.org>
Mon, 21 Apr 2014 18:29:15 +0000 (20:29 +0200)
committerHerbert Valerio Riedel <hvr@gnu.org>
Mon, 21 Apr 2014 18:35:56 +0000 (20:35 +0200)
commitbcd989d13072a189b49d9393b0d4b1bbaede9d36
treebbe2ed37bc86b45e65e535ce15084085094a32f8
parent4ab8fc55eb6119dbba2f487c5a01d30a7c6ae113
Generalise type of recently added System.Exit.die

This is a follow-up to 77ea2eb0ab36d1a (re #9016) which added `die` with a
return type of `IO ()` even though all other functions in System.Exit have
the more general return type `IO a`. It is assumed this was an oversight in
the original proposal.

Acked-by: Edward Kmett <ekmett@gmail.com>
Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
libraries/base/System/Exit.hs