fix https://github.com/purescript/purescrit/issues/531 and https://github.com/purescript/purescript/issues/530
fix https://github.com/purescript/purescrit/issues/531 and https://github.com/purescript/purescript/issues/530

michaelficarra/purescript,michaelficarra/purescript