Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Ema.Route.Lib.File
Documentation
newtype FileRoute (filename :: Symbol) Source #
A type-level singleton route, whose encoding is given by the symbol parameter.
FileRoute "foo.html" encodes to "foo.html".
TODO: Can this type be simplified? See https://stackoverflow.com/q/72755053/55246
Constructors
FileRoute () |