packages feed

chiasma-0.2.0.0: lib/Chiasma/Codec/Data/Session.hs

module Chiasma.Codec.Data.Session where

import Chiasma.Codec (TmuxCodec)
import Chiasma.Data.TmuxId (SessionId)

-- must be data for now because of how derivation of `TmuxCodec` is implemented
data Session =
  Session {
    sessionId :: SessionId
  }
  deriving (Eq, Show, Generic, TmuxCodec)