Hoogle Search

Within LTS Haskell 24.35 (ghc-9.10.3)

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

  1. extendOrigNameCache :: OrigNameCache -> Module -> OccName -> Name -> OrigNameCache

    ghc-lib-parser GHC.Types.Name.Cache

    No documentation available.

  2. extendOrigNameCache' :: OrigNameCache -> Name -> OrigNameCache

    ghc-lib-parser GHC.Types.Name.Cache

    No documentation available.

  3. extendOccEnv :: OccEnv a -> OccName -> a -> OccEnv a

    ghc-lib-parser GHC.Types.Name.Occurrence

    Add a single element to an OccEnv.

  4. extendOccEnvList :: OccEnv a -> [(OccName, a)] -> OccEnv a

    ghc-lib-parser GHC.Types.Name.Occurrence

    Extend an OccEnv by a list. OccNames later on in the list override earlier OccNames.

  5. extendOccEnv_Acc :: (a -> b -> b) -> (a -> b) -> OccEnv b -> OccName -> a -> OccEnv b

    ghc-lib-parser GHC.Types.Name.Occurrence

    Add a single element to an OccEnv, using a different function whether the OccName already exists or not.

  6. extendOccSet :: OccSet -> OccName -> OccSet

    ghc-lib-parser GHC.Types.Name.Occurrence

    No documentation available.

  7. extendOccSetList :: OccSet -> [OccName] -> OccSet

    ghc-lib-parser GHC.Types.Name.Occurrence

    No documentation available.

  8. pattern KEY_VendorHome :: Word32

    gi-gdk4 GI.Gdk.Constants

    No description available in the introspection data.

  9. constructDeviceVendorId :: (IsDevice o, MonadIO m) => Text -> m (GValueConstruct o)

    gi-gdk4 GI.Gdk.Objects.Device

    Construct a GValueConstruct with valid value for the “vendor-id” property. This is rarely needed directly, but it is used by new.

  10. deviceGetVendorId :: (HasCallStack, MonadIO m, IsDevice a) => a -> m (Maybe Text)

    gi-gdk4 GI.Gdk.Objects.Device

    Returns the vendor ID of this device. This ID is retrieved from the device, and does not change. This function, together with deviceGetProductId, can be used to eg. compose GSettings paths to store settings for this device.

    c code

    static GSettings *
    get_device_settings (GdkDevice *device)
    {
    const char *vendor, *product;
    GSettings *settings;
    GdkDevice *device;
    char *path;
    
    vendor = gdk_device_get_vendor_id (device);
    product = gdk_device_get_product_id (device);
    
    path = g_strdup_printf ("/org/example/app/devices/%s:%s/", vendor, product);
    settings = g_settings_new_with_path (DEVICE_SCHEMA, path);
    g_free (path);
    
    return settings;
    }
    

Page 23 of many | Previous | Next