Hoogle Search
Within Stackage Nightly 2025-09-26 (ghc-9.12.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
setDimension :: forall ix (n :: Natural) . IsIndexDimension ix n => ix -> Dimension n -> Int -> ixmassiv Data.Massiv.Core.Index Type safe way to set value of index at a particular dimension.
Examples
>>> setDimension (2 :> 3 :> 4 :. 5) Dim4 10 10 :> 3 :> 4 :. 5
setSzM :: (MonadThrow m, Index ix) => Sz ix -> Dim -> Sz Int -> m (Sz ix)massiv Data.Massiv.Core.Index Example
>>> import Data.Massiv.Core.Index >>> setSzM (Sz2 2 3) 2 (Sz1 1) :: IO Sz2 Sz (1 :. 3) >>> setSzM (Sz2 2 3) 3 (Sz1 1) :: IO Sz2 *** Exception: IndexDimensionException: (Dim 3) for (2 :. 3)
set1 :: Calendar -> CalendarField -> Int -> Calendartext-icu Data.Text.ICU Set the value of one field of a calendar to a certain value. All fields are represented as 32-bit integers.
setLine :: BiDi -> Int32 -> Int32 -> BiDi -> IO ()text-icu Data.Text.ICU.BiDi Sets a BiDi to contain the reordering information, especially the resolved levels, for all the characters in a line of text
setPara :: BiDi -> Text -> Int32 -> IO ()text-icu Data.Text.ICU.BiDi Perform the Unicode Bidi algorithm. It is defined in the Unicode Standard Annex #9, version 13, also described in The Unicode Standard, Version 4.0. This function takes a piece of plain text containing one or more paragraphs, with or without externally specified embedding levels from styled text and computes the left-right-directionality of each character.
setText :: BreakIterator a -> Text -> IO ()text-icu Data.Text.ICU.Break Point an existing BreakIterator at a new piece of text.
set1 :: Calendar -> CalendarField -> Int -> Calendartext-icu Data.Text.ICU.Calendar Set the value of one field of a calendar to a certain value. All fields are represented as 32-bit integers.
setAmPm :: Calendar -> Int -> Calendartext-icu Data.Text.ICU.Calendar No documentation available.
setDate :: Calendar -> Int -> Int -> Int -> IO ()text-icu Data.Text.ICU.Calendar No documentation available.
setDateTime :: Calendar -> Int -> Int -> Int -> Int -> Int -> Int -> IO ()text-icu Data.Text.ICU.Calendar No documentation available.