Commit fd5cbf34 authored by Vaibhav Sagar's avatar Vaibhav Sagar

ipython-kernel: add Semigroup instance

parent 74ef9ac8
......@@ -44,6 +44,7 @@ import Data.List (find)
import Data.Map (Map)
import qualified Data.Map as Map
import Data.Maybe (fromMaybe)
import Data.Semigroup (Semigroup)
import Data.Serialize
import Data.Serialize.Text ()
import Data.Text (Text, pack)
......@@ -170,7 +171,7 @@ type Username = Text
-- | A metadata dictionary.
newtype Metadata = Metadata Object
deriving (Show, Read, ToJSON, Monoid)
deriving (Show, Read, ToJSON, Semigroup, Monoid)
-- | The type of a message, corresponding to IPython message types.
data MessageType = KernelInfoReplyMessage
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment