Hoogle Search

Within LTS Haskell 24.41 (ghc-9.10.3)

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

  1. isSuffixOf :: ShortText -> ShortText -> Bool

    text-short Data.Text.Short

    Tests whether the first ShortText is a suffix of the second ShortText

    >>> isSuffixOf "ef" "abcdef"
    True
    
    >>> isPrefixOf "df" "abcdef"
    False
    
    isSuffixOf "" t == True
    
    isSuffixOf t t == True
    

  2. stripPrefix :: ShortText -> ShortText -> Maybe ShortText

    text-short Data.Text.Short

    Strip prefix from second ShortText argument. Returns Nothing if first argument is not a prefix of the second argument.

    >>> stripPrefix "text-" "text-short"
    Just "short"
    
    >>> stripPrefix "test-" "text-short"
    Nothing
    

  3. stripSuffix :: ShortText -> ShortText -> Maybe ShortText

    text-short Data.Text.Short

    Strip suffix from second ShortText argument. Returns Nothing if first argument is not a suffix of the second argument.

    >>> stripSuffix "-short" "text-short"
    Just "text"
    
    >>> stripSuffix "-utf8" "text-short"
    Nothing
    

  4. package JuicyPixels

    Picture loading/serialization (in png, jpeg, bitmap, gif, tga, tiff and radiance) This library can load and store images in PNG,Bitmap, Jpeg, Radiance, Tiff and Gif images.

  5. class (Storable PixelBaseComponent a, Num PixelBaseComponent a, Eq a) => Pixel a

    JuicyPixels Codec.Picture

    Definition of pixels used in images. Each pixel has a color space, and a representative component (Word8 or Float).

  6. type Pixel16 = Word16

    JuicyPixels Codec.Picture

    Type alias for 16bit greyscale pixels.

  7. type Pixel32 = Word32

    JuicyPixels Codec.Picture

    Type alias for 32bit greyscale pixels.

  8. type Pixel8 = Word8

    JuicyPixels Codec.Picture

    Type alias for 8bit greyscale pixels. For simplicity, greyscale pixels use plain numbers instead of a separate type.

  9. data PixelCMYK16

    JuicyPixels Codec.Picture

    Pixel type storing 16bit cyan, magenta, yellow and black (CMYK) information. Values are stored in the following order:

    • Cyan
    • Magenta
    • Yellow
    • Black

  10. PixelCMYK16 :: Pixel16 -> Pixel16 -> Pixel16 -> Pixel16 -> PixelCMYK16

    JuicyPixels Codec.Picture

    No documentation available.

Page 100 of many | Previous | Next