Hoogle Search

Within LTS Haskell 24.33 (ghc-9.10.3)

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

  1. data SetSingletonConstructors (a :: k)

    dhall Dhall.Deriving

    SetSingletonConstructors t replaces the singletonConstructors from options with the value-level version of t.

  2. class ToSingletonConstructors (a :: SingletonConstructors)

    dhall Dhall.Deriving

    Convert a type of kind SingletonConstructors into a value of type SingletonConstructors

  3. asSingletonConstructors :: ToSingletonConstructors a => SingletonConstructors

    dhall Dhall.Deriving

    No documentation available.

  4. setSingletonConstructors :: SingletonConstructors -> InterpretOptions -> InterpretOptions

    dhall Dhall.Deriving

    setSingletonConstructors v options replaces the singletonConstructors from options with v.

  5. unorderedSingleton :: k -> v -> Map k v

    dhall Dhall.Map

    Create a Map from a single key-value pair. Any further operations on this map will not retain the order of the keys.

    >>> unorderedSingleton "A" 1
    fromList [("A",1)]
    

  6. asSingleton :: Array a -> Array a

    harpie Harpie.Array

    Convert a scalar to being a dimensioned array. Do nothing if not a scalar.

    >>> asSingleton (toScalar 4)
    UnsafeArray [1] [4]
    

  7. asSingleton :: forall (s :: [Nat]) (s' :: [Nat]) a . (KnownNats s, KnownNats s', s' ~ Eval (AsSingleton s)) => Array s a -> Array s' a

    harpie Harpie.Fixed

    Convert a scalar to being a dimensioned array. Do nothing if not a scalar.

    >>> asSingleton (toScalar 4)
    [4]
    

  8. data AsSingleton (a :: [Nat]) (b :: [Nat])

    harpie Harpie.Shape

    Convert a scalar to a dimensioned shape >>> :k! Eval (AsSingleton '[]) ... = '[1] >>> :k! Eval (AsSingleton [2,3,4]) ... = [2, 3, 4]

  9. asSingleton :: [Int] -> [Int]

    harpie Harpie.Shape

    Convert a scalar to a dimensioned shape

    >>> asSingleton []
    [1]
    
    >>> asSingleton [2,3,4]
    [2,3,4]
    

  10. plot_bars_singleton_width :: forall x y f . Functor f => (Double -> f Double) -> PlotBars x y -> f (PlotBars x y)

    Chart Graphics.Rendering.Chart.Plot.Bars

    No documentation available.

Page 61 of many | Previous | Next