Hoogle Search

Within LTS Haskell 24.52 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. data PageStructure

    web-rep Web.Rep.Page

    Various ways that a Html file can be structured.

  2. data PlayConfig

    web-rep Web.Rep.Socket

    Configuration to control a (re)play of an emitter with a Gap (timing) element.

  3. PlayConfig :: Bool -> Double -> Int -> PlayConfig

    web-rep Web.Rep.Socket

    No documentation available.

  4. module Web.Routes.PathInfo

    No documentation available.

  5. class PathInfo url

    web-routes Web.Routes.PathInfo

    Simple parsing and rendering for a type to and from URL path segments. If you're using GHC 7.2 or later, you can use DeriveGeneric to derive instances of this class:

    {-# LANGUAGE DeriveGeneric #-}
    data Sitemap = Home | BlogPost Int deriving Generic
    instance PathInfo Sitemap
    
    This results in the following instance:
    instance PathInfo Sitemap where
    toPathSegments Home = ["home"]
    toPathSegments (BlogPost x) = "blog-post" : toPathSegments x
    fromPathSegments = Home <$ segment "home"
    <|> BlogPost <$ segment "blog-post" <*> fromPathSegments
    
    And here it is in action:
    >>> toPathInfo (BlogPost 123)
    "/blog-post/123"
    
    >>> fromPathInfo "/blog-post/123" :: Either String Sitemap
    Right (BlogPost 123)
    
    To instead derive instances using TemplateHaskell, see web-routes-th.

  6. Pct :: Float -> Length

    web-view Web.View

    No documentation available.

  7. data Position

    web-view Web.View

    No documentation available.

  8. data PxRem

    web-view Web.View

    Px, converted to Rem. Allows for the user to change the document font size and have the app scale accordingly. But allows the programmer to code in pixels to match a design

  9. PxRem :: PxRem -> Length

    web-view Web.View

    No documentation available.

  10. data Position

    web-view Web.View.Style

    No documentation available.

Page 1083 of many | Previous | Next