Hoogle Search
Within LTS Haskell 24.67 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
readIO :: Read a => String -> IO aclash-prelude Clash.HaskellPrelude The readIO function is similar to read except that it signals parse failure to the IO monad instead of terminating the program.
readList :: Read a => ReadS [a]clash-prelude Clash.HaskellPrelude The method readList is provided to allow the programmer to give a specialised way of parsing lists of values. For example, this is used by the predefined Read instance of the Char type, where values of type String are expected to use double quotes, rather than square brackets.
-
clash-prelude Clash.HaskellPrelude readParen :: Bool -> ReadS a -> ReadS aclash-prelude Clash.HaskellPrelude readParen True p parses what p parses, but surrounded with parentheses. readParen False p parses what p parses, but optionally surrounded with parentheses.
-
clash-prelude Clash.HaskellPrelude equivalent to readsPrec with a precedence of 0.
readsPrec :: Read a => Int -> ReadS aclash-prelude Clash.HaskellPrelude attempts to parse a value from the front of the string, returning a list of (parsed value, remaining string) pairs. If there is no successful parse, the returned list is empty. Derived instances of Read and Show satisfy the following:
That is, readsPrec parses the string produced by showsPrec, and delivers the value that showsPrec started with.-
clash-prelude Clash.Prelude Read the value from an inout port
-
clash-prelude Clash.Prelude Create a read-after-write block RAM from a read-before-write one
>>> :t readNew (blockRam (0 :> 1 :> Nil)) readNew (blockRam (0 :> 1 :> Nil)) :: ... ... ... => Signal dom addr -> Signal dom (Maybe (addr, a)) -> Signal dom a
# 867 "srcClashPrelude/BlockRam.hs" -
clash-prelude Clash.Prelude.BlockRam Create a read-after-write block RAM from a read-before-write one
>>> :t readNew (blockRam (0 :> 1 :> Nil)) readNew (blockRam (0 :> 1 :> Nil)) :: ... ... ... => Signal dom addr -> Signal dom (Maybe (addr, a)) -> Signal dom a
# 867 "srcClashPrelude/BlockRam.hs" -
clash-prelude Clash.Prelude.Safe Create a read-after-write block RAM from a read-before-write one
>>> :t readNew (blockRam (0 :> 1 :> Nil)) readNew (blockRam (0 :> 1 :> Nil)) :: ... ... ... => Signal dom addr -> Signal dom (Maybe (addr, a)) -> Signal dom a
# 867 "srcClashPrelude/BlockRam.hs"