Skip to content

Commit

Permalink
Merge pull request #27 from afcondon/master
Browse files Browse the repository at this point in the history
fix overlapping class instances
  • Loading branch information
safareli authored Aug 28, 2019
2 parents 2e7d652 + 86910fa commit fd275bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WebSocket.purs
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ derive instance genericURL :: Generic URL _

-- | A synonym for message strings.
newtype Message = Message String
derive instance genericMessage :: Generic Reason _
derive instance genericMessage :: Generic Message _

runMessage :: Message -> String
runMessage (Message a) = a

0 comments on commit fd275bc

Please sign in to comment.