Hoogle Search
Within LTS Haskell 24.32 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
enumFromTo :: Enum a => a -> a -> [a]copilot-language Copilot.Language.Prelude Used in Haskell's translation of [n..m] with [n..m] = enumFromTo n m, a possible implementation being
enumFromTo n m | n <= m = n : enumFromTo (succ n) m | otherwise = []
Examples
enumFromTo 6 10 :: [Int] = [6,7,8,9,10]
enumFromTo 42 1 :: [Integer] = []
enumPics :: HasName a => [a] -> [a]funcmp FMP.Picture No documentation available.
enumeration :: (Generic a, HasFirst (Rep a), HasSuccessor (Rep a)) => [a]generic-enumeration Data.Enumeration.Generic Produce a list of every possible value.
enumAsString :: ParquetOptions -> Maybe Boolgogol-bigquery Gogol.BigQuery Optional. Indicates whether to infer Parquet ENUM logical type as STRING instead of BYTES by default.
enumAsString :: ParquetOptions -> Maybe Boolgogol-bigquery Gogol.BigQuery.Types Optional. Indicates whether to infer Parquet ENUM logical type as STRING instead of BYTES by default.
enumOptions :: ParameterMetadata -> Maybe [ParameterMetadataEnumOption]gogol-dataflow Gogol.Dataflow Optional. The options shown when ENUM ParameterType is specified.
enumOptions :: ParameterMetadata -> Maybe [ParameterMetadataEnumOption]gogol-dataflow Gogol.Dataflow.Types Optional. The options shown when ENUM ParameterType is specified.
enumDeprecated :: JsonSchema -> Maybe [Bool]gogol-discovery Gogol.Discovery The deprecation status for the enums. Each position maps to the corresponding value in the "enum" array.
enumDescriptions :: JsonSchema -> Maybe [Text]gogol-discovery Gogol.Discovery The descriptions for the enums. Each position maps to the corresponding value in the "enum" array.
enumDeprecated :: JsonSchema -> Maybe [Bool]gogol-discovery Gogol.Discovery.Types The deprecation status for the enums. Each position maps to the corresponding value in the "enum" array.