zettelkast-0.1.0.0: Command-line utility for working with zettelkast files

Safe HaskellSafe
LanguageHaskell2010

Data.Path

Documentation

data Dir Source #

data Path a b where Source #

Constructors

Nil :: Path a a 
ConsRoot :: Path a Root -> Path a Dir 
ConsDir :: Text -> Path a Dir -> Path a Dir 
ConsFile :: Text -> Path a Dir -> Path a File 
Instances
Category Path Source # 
Instance details

Defined in Data.Path

Methods

id :: Path a a #

(.) :: Path b c -> Path a b -> Path a c #

Show (Path a b) Source # 
Instance details

Defined in Data.Path

Methods

showsPrec :: Int -> Path a b -> ShowS #

show :: Path a b -> String #

showList :: [Path a b] -> ShowS #

(./) :: Path a b -> Path b c -> Path a c Source #