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.
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.
showLaws :: Show a => Gen a -> Lawshedgehog-classes Hedgehog.Classes Tests the following Show laws:
showReadLaws :: (Eq a, Read a, Show a) => Gen a -> Lawshedgehog-classes Hedgehog.Classes Tests the following Show / Read laws:
- Partial Isomorphism: show/read readMaybe . show ≡ Just
- Partial Isomorphism: show/read with initial space readMaybe . (" " ++) . show ≡ Just
- Partial Isomorphism: showsPrec/readPrec (a,"") elem readsPrec p (showsPrec p a "") ≡ True
- Partial Isomorphism: showList/readList (as,"") elem readList (showList as "") ≡ True
- Partial Isomorphism: showListWith shows/readListDefault (as,"") elem readListDefault (showListWith shows as "") ≡ True
showBundle :: FpPrecision -> BundleOf Message -> Stringhosc 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"
-
hosc Sound.Osc.Text Hex encoded byte sequence.
>>> showBytes [0, 15, 16, 144, 255] "000f1090ff"
showDatum :: FpPrecision -> Datum -> Stringhosc 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"]
showFloatWithPrecision :: RealFloat n => FpPrecision -> n -> Stringhosc Sound.Osc.Text Variant of showFFloat that deletes trailing zeros.
>>> map (showFloatWithPrecision (Just 4)) [1, 2.0, pi] ["1.0","2.0","3.1416"]
showMessage :: FpPrecision -> Message -> Stringhosc 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"]
showPacket :: FpPrecision -> PacketOf Message -> Stringhosc Sound.Osc.Text Printer for Packet.
showParen :: Bool -> ShowS -> ShowSincipit-base Incipit.Base utility function that surrounds the inner show function with parentheses when the Bool parameter is True.