diff --git a/src/Network/GRPC/Unsafe/Op.chs b/src/Network/GRPC/Unsafe/Op.chs index e7c82e2..fd8bc01 100644 --- a/src/Network/GRPC/Unsafe/Op.chs +++ b/src/Network/GRPC/Unsafe/Op.chs @@ -18,7 +18,7 @@ import Foreign.Ptr {#context prefix = "grpc" #} {#enum grpc_op_type as OpType {underscoreToCase} deriving (Eq, Show)#} -{#enum grpc_status_code as StatusCode {underscoreToCase} deriving (Eq, Show)#} +{#enum grpc_status_code as StatusCode {underscoreToCase} deriving (Eq, Read, Show)#} -- NOTE: We don't alloc the space for the enum in Haskell because enum size is -- implementation-dependent. See: