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.
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)
override :: Proto a -> (a -> a -> a) -> Proto aoo-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 }EllipsizeMiddle :: EllipsizeModepango Graphics.Rendering.Pango No documentation available.
approximateCharWidth :: FontMetrics -> Doublepango 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.
approximateDigitWidth :: FontMetrics -> Doublepango 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.
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.
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.
EllipsizeMiddle :: EllipsizeModepango Graphics.Rendering.Pango.Enums No documentation available.
approximateCharWidth :: FontMetrics -> Doublepango 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.
approximateDigitWidth :: FontMetrics -> Doublepango 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.