srt-0.1.2.0: The data type for SRT files.
LicenseMIT
Stabilityexperimental
Safe HaskellSafe-Inferred
LanguageHaskell2010

Media.Subtitles.SRT

Description

The SRT subtitle type.

Synopsis

Documentation

data Line Source #

Data type for a single line in SRT.

Since: 0.1.0.0

Constructors

Line 

Fields

Instances

Instances details
Eq Line Source # 
Instance details

Defined in Media.Subtitles.SRT

Methods

(==) :: Line -> Line -> Bool #

(/=) :: Line -> Line -> Bool #

Ord Line Source # 
Instance details

Defined in Media.Subtitles.SRT

Methods

compare :: Line -> Line -> Ordering #

(<) :: Line -> Line -> Bool #

(<=) :: Line -> Line -> Bool #

(>) :: Line -> Line -> Bool #

(>=) :: Line -> Line -> Bool #

max :: Line -> Line -> Line #

min :: Line -> Line -> Line #

Show Line Source # 
Instance details

Defined in Media.Subtitles.SRT

Methods

showsPrec :: Int -> Line -> ShowS #

show :: Line -> String #

showList :: [Line] -> ShowS #

newtype SRT Source #

SRT data type.

Since: 0.1.0.0

Constructors

SRT 

Fields

Instances

Instances details
Eq SRT Source # 
Instance details

Defined in Media.Subtitles.SRT

Methods

(==) :: SRT -> SRT -> Bool #

(/=) :: SRT -> SRT -> Bool #

Show SRT Source # 
Instance details

Defined in Media.Subtitles.SRT

Methods

showsPrec :: Int -> SRT -> ShowS #

show :: SRT -> String #

showList :: [SRT] -> ShowS #