Skip to content
Snippets Groups Projects
Commit 01389117 authored by Jens Nolte's avatar Jens Nolte
Browse files

Implement WireFormat instance for Void

parent 8ed7a0be
No related branches found
No related tags found
No related merge requests found
...@@ -174,9 +174,9 @@ instance WireFormat GenericNewId where ...@@ -174,9 +174,9 @@ instance WireFormat GenericNewId where
showArgument newId = "new [unknown]@" <> show newId showArgument newId = "new [unknown]@" <> show newId
instance WireFormat Void where instance WireFormat Void where
putArgument = undefined putArgument = absurd
getArgument = undefined getArgument = pure <$> get
showArgument = undefined showArgument = absurd
-- | Class for a proxy type (in the haskell sense) that describes a Wayland interface. -- | Class for a proxy type (in the haskell sense) that describes a Wayland interface.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment