Hoogle Search

Within LTS Haskell 24.38 (ghc-9.10.3)

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

  1. data FormField (v :: k -> Type) (a :: k)

    hyperbole Web.Hyperbole.View.Forms

    No documentation available.

  2. FormField :: FieldName a -> v a -> FormField (v :: k -> Type) (a :: k)

    hyperbole Web.Hyperbole.View.Forms

    No documentation available.

  3. data FormFields id

    hyperbole Web.Hyperbole.View.Forms

    The only time we can use Fields is inside a form

  4. FormFields :: id -> FormFields id

    hyperbole Web.Hyperbole.View.Forms

    No documentation available.

  5. data FormOptions

    hyperbole Web.Hyperbole.View.Forms

    Generic-based deriving options for ToForm and FromForm. A common use case for non-default FormOptions is to strip a prefix off of field labels:

    data Project = Project
    { projectName :: String
    , projectSize :: Int
    } deriving (Generic, Show)
    
    myOptions :: FormOptions
    myOptions = FormOptions
    { fieldLabelModifier = map toLower . drop (length "project") }
    
    instance ToForm Project where
    toForm = genericToForm myOptions
    
    instance FromForm Project where
    fromForm = genericFromForm myOptions
    
    >>> urlEncodeAsFormStable Project { projectName = "http-api-data", projectSize = 172 }
    "name=http-api-data&size=172"
    
    >>> urlDecodeAsForm "name=http-api-data&size=172" :: Either Text Project
    Right (Project {projectName = "http-api-data", projectSize = 172})
    

  6. FormOptions :: (String -> String) -> FormOptions

    hyperbole Web.Hyperbole.View.Forms

    No documentation available.

  7. module Database.InfluxDB.Format

    No documentation available.

  8. data Format a r

    influxdb Database.InfluxDB.Format

    A typed format string. Format a r means that a is the type of formatted string, and r is the type of the formatter.

    >>> :t F.formatQuery
    F.formatQuery :: F.Format Query r -> r
    
    >>> :t F.key
    F.key :: F.Format r (Key -> r)
    
    >>> :t "SELECT * FROM "%F.key
    "SELECT * FROM "%F.key :: F.Format a (Key -> a)
    
    >>> :t F.formatQuery ("SELECT * FROM "%F.key)
    F.formatQuery ("SELECT * FROM "%F.key) :: Key -> Query
    
    >>> F.formatQuery ("SELECT * FROM "%F.key) "series"
    "SELECT * FROM \"series\""
    

  9. ForInStat :: Bool -> Ident -> JExpr -> JStat -> JStat

    jmacro Language.Javascript.JMacro

    No documentation available.

  10. ForeignStat :: Ident -> JLocalType -> JStat

    jmacro Language.Javascript.JMacro

    No documentation available.

Page 334 of many | Previous | Next