From 86910fa3789c5b2b79587dc13157c5d885bcf170 Mon Sep 17 00:00:00 2001 From: andrew condon Date: Tue, 27 Aug 2019 14:58:29 +0200 Subject: [PATCH] fix overlapping class instances Not previously rejected by the compiler but preventing compilation in 0.13.x --- src/WebSocket.purs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/WebSocket.purs b/src/WebSocket.purs index 8d88c0f..fac33af 100644 --- a/src/WebSocket.purs +++ b/src/WebSocket.purs @@ -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