Safe Haskell | Safe-Inferred |
---|
Functions to deal with Korvai.Metadata
. The type itself has to be
defined in Solkattu.Korvai to avoid a circular import.
Synopsis
- scoreTag :: Text -> Korvai.Score -> [Text]
- getTag :: Text -> Korvai.Metadata -> [Text]
- scoreLocation :: Korvai.Score -> Korvai.Location
- korvaiLocation :: Korvai.Korvai -> Korvai.Location
- showLocation :: Korvai.Location -> Text
- moduleVariable :: Korvai.Score -> Text
- makeDate :: CallStack.Stack => Int -> Int -> Int -> Day
- checkDate :: Int -> Int -> Int -> Either Text Day
- type Time = (Int, Int, Int)
- showRecording :: CallStack.Stack => Text -> Maybe (Time, Maybe Time) -> Text
- parseRecording :: Text -> Maybe (Text, Maybe (Time, Time))
- parseTime :: Text -> Maybe Time
- showTime :: CallStack.Stack => Time -> Text
- sectionTag :: Text -> Korvai.Score -> [Text]
- sectionTags :: Korvai.Score -> [Tags.Tags]
query
showLocation :: Korvai.Location -> Text Source #
moduleVariable :: Korvai.Score -> Text Source #
date
time
showRecording :: CallStack.Stack => Text -> Maybe (Time, Maybe Time) -> Text Source #
sections
sectionTag :: Text -> Korvai.Score -> [Text] Source #
Get a section tag's values, concatenated and uniqued.
sectionTags :: Korvai.Score -> [Tags.Tags] Source #