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.
isSingleton :: Rect Double -> Boolchart-svg Chart.Data is any dimension singular?
padSingletons :: Rect Double -> Rect Doublechart-svg Chart.Data Pad a Rect to remove singleton dimensions. Attempting to scale a singleton dimension of a Rect is a common bug. Due to the use of scaling, and thus zero dividing, this is a common exception to guard against.
>>> project (Rect 0 0 0 1) one (Point 0 0) Point NaN (-0.5)
>>> project (padSingletons (Rect 0 0 0 1)) one (Point 0 0) Point 0.0 (-0.5)
-
cursor Cursor.Forest No documentation available.
-
cursor Cursor.Forest No documentation available.
-
cursor Cursor.Forest No documentation available.
forestCursorAddChildNodeSingleToNodeAtEndAndSelect :: a -> ForestCursor a -> ForestCursor acursor Cursor.Simple.Forest No documentation available.
forestCursorAddChildNodeSingleToNodeAtPosAndSelect :: Int -> a -> ForestCursor a -> ForestCursor acursor Cursor.Simple.Forest No documentation available.
forestCursorAddChildNodeSingleToNodeAtStartAndSelect :: a -> ForestCursor a -> ForestCursor acursor Cursor.Simple.Forest No documentation available.
unSingletonEnum :: SingletonEnum a -> ascale Codec.Scale.SingletonEnum No documentation available.
genSingletons :: OptionsMonad q => [Name] -> q [Dec]singletons-th Data.Singletons.TH Generate singled definitions for each of the provided type-level declaration Names. For example, the singletons-th package itself uses
$(genSingletons [''Bool, ''Maybe, ''Either, ''[]])
to generate singletons for Prelude types.