Hoogle Search
Within LTS Haskell 24.50 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
readLogRecordInstrumentationScope :: IsReadableLogRecord r => r -> InstrumentationLibraryhs-opentelemetry-api OpenTelemetry.Internal.Logs.Types Reads the InstrumentationScope from the Logger that emitted the LogRecord
readLogRecordResource :: IsReadableLogRecord r => r -> MaterializedResourceshs-opentelemetry-api OpenTelemetry.Internal.Logs.Types Reads the Resource from the LoggerProvider that emitted the LogRecord
readLogRecord :: IsReadableLogRecord r => r -> IO ImmutableLogRecordhs-opentelemetry-api OpenTelemetry.Logs.Core Reads the current state of the LogRecord from its internal IORef. The implementation mirrors readIORef.
readLogRecordAttributeLimits :: IsReadWriteLogRecord r => r -> AttributeLimitshs-opentelemetry-api OpenTelemetry.Logs.Core Reads the attribute limits from the LoggerProvider that emitted the LogRecord. These are needed to add more attributes.
readLogRecordInstrumentationScope :: IsReadableLogRecord r => r -> InstrumentationLibraryhs-opentelemetry-api OpenTelemetry.Logs.Core Reads the InstrumentationScope from the Logger that emitted the LogRecord
readLogRecordResource :: IsReadableLogRecord r => r -> MaterializedResourceshs-opentelemetry-api OpenTelemetry.Logs.Core Reads the Resource from the LoggerProvider that emitted the LogRecord
readFileDeserialise :: Serialise a => FilePath -> IO aserialise Codec.Serialise Read the specified file (internally, by reading a ByteString) and attempt to decode it into a Haskell value using deserialise (the type of which is determined by the choice of the result type). Throws: DeserialiseFailure if the file fails to deserialise properly.
readFileDeserialise :: Serialise a => FilePath -> IO aserialise Codec.Serialise.IO Read the specified file (internally, by reading a ByteString) and attempt to decode it into a Haskell value using deserialise (the type of which is determined by the choice of the result type). Throws: DeserialiseFailure if the file fails to deserialise properly.
readFile :: FilePath -> (Stream (Of String) IO () -> IO a) -> IO astreaming Streaming.Prelude Read the lines of a file, using a function of the type: 'Stream (Of String) IO () -> IO a' to turn the stream into a value of type 'IO a'.
>>> S.writeFile "lines.txt" $ S.take 2 S.stdinLn hello<Enter> world<Enter> >>> S.readFile "lines.txt" S.print "hello" "world"
readLn :: forall (m :: Type -> Type) a . (MonadIO m, Read a) => Stream (Of a) m ()streaming Streaming.Prelude Read values from stdin, ignoring failed parses.
>>> :set -XTypeApplications >>> S.sum $ S.take 2 (S.readLn @IO @Int) 10<Enter> 12<Enter> 22 :> ()
>>> S.toList $ S.take 2 (S.readLn @IO @Int) 10<Enter> 1@#$%^&*\<Enter> 12<Enter> [10,12] :> ()