Hoogle Search

Within LTS Haskell 24.66 (ghc-9.10.3)

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

  1. divideRoundingUp :: forall (a :: Nat) (b :: Nat) . Nat a -> Nat b -> Nat (Div (a - 1) b + 1)

    natural-arithmetic Arithmetic.Nat

    Divide two numbers. Rounds up (away from zero)

  2. override :: Proto a -> (a -> a -> a) -> Proto a

    oo-prototypes Data.Prototype

    Override a prototype. Fields can be defined in terms of their definition in the base prototype. Example:

    o2 = o1 `override` \super self -> super
    {
    f1 = f1 super + 10,
    f3 = f3 super + 1
    }
    

  3. EllipsizeMiddle :: EllipsizeMode

    pango Graphics.Rendering.Pango

    No documentation available.

  4. approximateCharWidth :: FontMetrics -> Double

    pango Graphics.Rendering.Pango

    The approximate character width. This is merely a representative value useful, for example, for determining the initial size for a window. Actual characters in text will be wider and narrower than this.

  5. approximateDigitWidth :: FontMetrics -> Double

    pango Graphics.Rendering.Pango

    The approximate digit width. This is merely a representative value useful, for example, for determining the initial size for a window. Actual digits in text can be wider and narrower than this, though this value is generally somewhat more accurate than approximateCharWidth.

  6. layoutGetWidth :: PangoLayout -> IO (Maybe Double)

    pango Graphics.Rendering.Pango

    Gets the width of this paragraph.

    • Gets the width to which the lines of the PangoLayout should be wrapped.
    • Returns is the current width, or Nothing to indicate that no wrapping is performed.

  7. layoutSetWidth :: PangoLayout -> Maybe Double -> IO ()

    pango Graphics.Rendering.Pango

    Set the width of this paragraph.

    • Sets the width to which the lines of the PangoLayout should be wrapped.
    • Pass in Nothing to indicate that no wrapping is to be performed.

  8. EllipsizeMiddle :: EllipsizeMode

    pango Graphics.Rendering.Pango.Enums

    No documentation available.

  9. approximateCharWidth :: FontMetrics -> Double

    pango Graphics.Rendering.Pango.Enums

    The approximate character width. This is merely a representative value useful, for example, for determining the initial size for a window. Actual characters in text will be wider and narrower than this.

  10. approximateDigitWidth :: FontMetrics -> Double

    pango Graphics.Rendering.Pango.Enums

    The approximate digit width. This is merely a representative value useful, for example, for determining the initial size for a window. Actual digits in text can be wider and narrower than this, though this value is generally somewhat more accurate than approximateCharWidth.

Page 1086 of many | Previous | Next