Fix #584
Merge pull request #586 from purescript/584

Fix #584