mathiassm
Safe HaskellNone
LanguageGHC2024

MathiasSM.Yaml.Social

Description

A social account, as read from the single socials YAML list

Synopsis

Documentation

data Social Source #

What a social account needs to be listed

Instances

Instances details
Show Social Source # 
Instance details

Defined in MathiasSM.Yaml.Social

Eq Social Source # 
Instance details

Defined in MathiasSM.Yaml.Social

Methods

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

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

parseSocial :: Object -> Either [String] Social Source #

Parses a social account, reporting every problem (not just the first)

parseSocialsYaml :: String -> Either [String] [Social] Source #

parseSocial on the contents of the socials file (a list of accounts)