-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Type-safe slugs for Yesod ecosystem -- -- Type-safe slugs for Yesod ecosystem. @package slug @version 0.1.0 -- | Type-safe slug implementation for Yesod ecosystem. module Web.Slug -- | Slug. Textual value inside is always guaranteed to have the following -- qualities: -- --
-- mkSlug = mkSlug >=> mkSlug . unSlug --mkSlug :: MonadThrow m => Text -> m Slug -- | Get textual representation of Slug. unSlug :: Slug -> Text -- | This exception is thrown by mkSlug when its input cannot be -- converted into proper Slug. data SlugException InvalidInput :: Text -> SlugException instance GHC.Show.Show Web.Slug.Slug instance GHC.Classes.Eq Web.Slug.Slug instance GHC.Show.Show Web.Slug.SlugException instance GHC.Exception.Exception Web.Slug.SlugException instance Data.Aeson.Types.Class.ToJSON Web.Slug.Slug instance Data.Aeson.Types.Class.FromJSON Web.Slug.Slug instance Database.Persist.Class.PersistField.PersistField Web.Slug.Slug instance Database.Persist.Sql.Class.PersistFieldSql Web.Slug.Slug instance Web.PathPieces.PathPiece Web.Slug.Slug