Hoogle Search

Within LTS Haskell 24.67 (ghc-9.10.3)

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

  1. small :: Html -> Html

    blaze-html Text.Blaze.XHtml1.FrameSet

    Combinator for the <small> element. Example:

    small $ span $ toHtml "foo"
    
    Result:
    <small><span>foo</span></small>
    

  2. small :: Html -> Html

    blaze-html Text.Blaze.XHtml1.Strict

    Combinator for the <small> element. Example:

    small $ span $ toHtml "foo"
    
    Result:
    <small><span>foo</span></small>
    

  3. small :: Html -> Html

    blaze-html Text.Blaze.XHtml1.Transitional

    Combinator for the <small> element. Example:

    small $ span $ toHtml "foo"
    
    Result:
    <small><span>foo</span></small>
    

  4. small :: Html -> Html

    blaze-html Text.Blaze.XHtml5

    Combinator for the <small> element. Example:

    small $ span $ toHtml "foo"
    
    Result:
    <small><span>foo</span></small>
    

  5. challenge :: AttributeValue -> Attribute

    blaze-html Text.Blaze.XHtml5.Attributes

    Combinator for the challenge attribute. Example:

    div ! challenge "bar" $ "Hello."
    
    Result:
    <div challenge="bar">Hello.</div>
    

  6. onstalled :: AttributeValue -> Attribute

    blaze-html Text.Blaze.XHtml5.Attributes

    Combinator for the onstalled attribute. Example:

    div ! onstalled "bar" $ "Hello."
    
    Result:
    <div onstalled="bar">Hello.</div>
    

  7. genValidStructurally :: (Validity a, Generic a, GGenValid (Rep a)) => Gen a

    genvalidity Data.GenValidity

    Generate a valid value by generating all the sub parts using the Generic instance, and trying that until a valid value has been generated

    genValidStructurally = genValidStructurallyWithoutExtraChecking `suchThat` isValid
    
    This is probably the function that you are looking for. If you do use this function to override genValid, you probably also want to use shrinkValidStructurally to override shrinkValid.

  8. genValidStructurallyWithoutExtraChecking :: (Generic a, GGenValid (Rep a)) => Gen a

    genvalidity Data.GenValidity

    Generate a valid value by generating all the sub parts using the Generic instance, This generator is _not_ guaranteed to generate a valid value. This is probably _not_ the function that you are looking for when overriding genValid _unless_ the type in question has no _extra_ validity constraints on top of the validity of its sub parts.

  9. shrinkValidStructurally :: (Validity a, Generic a, GValidRecursivelyShrink (Rep a), GValidSubterms (Rep a) a) => a -> [a]

    genvalidity Data.GenValidity

    Shrink a term to any of its immediate valid subterms, and also recursively shrink all subterms, and then filtering out the results that are not valid.

    shrinkValidStructurally = filter isValid . shrinkValidStructurallyWithoutExtraFiltering
    
    This is probably the function that you are looking for.

  10. shrinkValidStructurallyWithoutExtraFiltering :: (Generic a, GValidRecursivelyShrink (Rep a), GValidSubterms (Rep a) a) => a -> [a]

    genvalidity Data.GenValidity

    Shrink a term to any of its immediate valid subterms, and also recursively shrink all subterms. This shrinking function is _not_ guaranteed to shrink to valid values. This is probably _not_ the function that you are looking for when overriding shrinkValid _unless_ the type in question has no _extra_ validity constraints on top of the validity of its sub parts.

Page 229 of many | Previous | Next