Partial functions such as fromJust are generally frowned upon in the Haskell community. There was a relatively recent proposal to deprecate and then remove fromJust:
https://mail.haskell.org/pipermail/libraries/2015-February/0...
https://mail.haskell.org/pipermail/libraries/2015-February/0...