Fix #548
Merge pull request #577 from purescript/548

Fix #548