Hoogle Search

Within LTS Haskell 24.32 (ghc-9.10.3)

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

  1. showLayoutLine :: LayoutLine -> Render ()

    gtk Graphics.UI.Gtk.Cairo

    Draw a LayoutLine.

    • The origin of the glyphs (the left edge of the baseline) will be drawn at the current point of the cairo context.

  2. showLaws :: Show a => Gen a -> Laws

    hedgehog-classes Hedgehog.Classes

    Tests the following Show laws:

  3. showReadLaws :: (Eq a, Read a, Show a) => Gen a -> Laws

    hedgehog-classes Hedgehog.Classes

    Tests the following Show / Read laws:

  4. showBundle :: FpPrecision -> BundleOf Message -> String

    hosc Sound.Osc.Text

    Printer for Bundle

    >>> let aBundle = Bundle 1 [Message "/c_set" [Int32 1, Float 2.3, Int64 4, Double 5.6], Message "/memset" [string "addr", blob [7, 8]]]
    
    >>> showBundle (Just 4) aBundle
    "#bundle 4294967296 2 /c_set ,ifhd 1 2.3 4 5.6 /memset ,sb addr 0708"
    

  5. showBytes :: [Int] -> String

    hosc Sound.Osc.Text

    Hex encoded byte sequence.

    >>> showBytes [0, 15, 16, 144, 255]
    "000f1090ff"
    

  6. showDatum :: FpPrecision -> Datum -> String

    hosc Sound.Osc.Text

    Printer for Datum.

    >>> let aDatumSeq = [Int32 1,Float 1.2,string "str",midi (0,0x90,0x40,0x60),blob [12,16], TimeStamp 100.0]
    
    >>> map (showDatum (Just 5)) aDatumSeq
    ["1","1.2","str","00904060","0c10","429496729600"]
    

  7. showFloatWithPrecision :: RealFloat n => FpPrecision -> n -> String

    hosc Sound.Osc.Text

    Variant of showFFloat that deletes trailing zeros.

    >>> map (showFloatWithPrecision (Just 4)) [1, 2.0, pi]
    ["1.0","2.0","3.1416"]
    

  8. showMessage :: FpPrecision -> Message -> String

    hosc Sound.Osc.Text

    Printer for Message.

    >>> let aMessage = Message "/addr" [Int32 1, Int64 2, Float 3, Double 4, string "five", blob [6, 7], midi (8, 9, 10, 11)]
    
    >>> showMessage (Just 4) aMessage
    "/addr ,ihfdsbm 1 2 3.0 4.0 five 0607 08090a0b"
    
    >>> let aMessageSeq = [Message "/c_set" [Int32 1, Float 2.3], Message "/s_new" [string "sine", Int32 (-1), Int32 1, Int32 1]]
    
    >>> map (showMessage (Just 4)) aMessageSeq
    ["/c_set ,if 1 2.3","/s_new ,siii sine -1 1 1"]
    

  9. showPacket :: FpPrecision -> PacketOf Message -> String

    hosc Sound.Osc.Text

    Printer for Packet.

  10. showParen :: Bool -> ShowS -> ShowS

    incipit-base Incipit.Base

    utility function that surrounds the inner show function with parentheses when the Bool parameter is True.

Page 115 of many | Previous | Next