Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- modelFolgezettelAncestorTree :: ModelRoute -> Model -> Forest LMLRoute
- parentLmlRoute :: Model -> LMLRoute -> Maybe LMLRoute
- modelLookupBacklinks :: ModelRoute -> Model -> [(LMLRoute, NonEmpty [Block])]
- backlinkRels :: ModelRoute -> Model -> [Rel]
- frontlinkRels :: ModelRoute -> Model -> [Rel]
Documentation
parentLmlRoute :: Model -> LMLRoute -> Maybe LMLRoute Source #
Return the route to parent folder (unless indexRoute is passed).
This will return the existing note (.org or .md) if possible. Otherwise fallback to .md even if missing.
modelLookupBacklinks :: ModelRoute -> Model -> [(LMLRoute, NonEmpty [Block])] Source #
backlinkRels :: ModelRoute -> Model -> [Rel] Source #
frontlinkRels :: ModelRoute -> Model -> [Rel] Source #