Hoogle Search

Within LTS Haskell 24.58 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. readNew :: forall (dom :: Domain) a addr . (HiddenClockResetEnable dom, NFDataX a, Eq addr) => (Signal dom addr -> Signal dom (Maybe (addr, a)) -> Signal dom a) -> Signal dom addr -> Signal dom (Maybe (addr, a)) -> Signal dom a

    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"

  2. readNew :: forall (dom :: Domain) a addr . (HiddenClockResetEnable dom, NFDataX a, Eq addr) => (Signal dom addr -> Signal dom (Maybe (addr, a)) -> Signal dom a) -> Signal dom addr -> Signal dom (Maybe (addr, a)) -> Signal dom a

    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"

  3. readFromBiSignal :: forall a (ds :: BiSignalDefault) (d :: Domain) . (HasCallStack, BitPack a) => BiSignalIn ds d (BitSize a) -> Signal d a

    clash-prelude Clash.Signal

    Read the value from an inout port

  4. readFromBiSignal :: forall a (ds :: BiSignalDefault) (d :: Domain) . (HasCallStack, BitPack a) => BiSignalIn ds d (BitSize a) -> Signal d a

    clash-prelude Clash.Signal.BiSignal

    Read the value from an inout port

  5. readerC :: forall (m :: Type -> Type) r i o a . Monad m => (r -> ConduitT i o m a) -> ConduitT i o (ReaderT r m) a

    classy-prelude-conduit ClassyPrelude.Conduit

    Wrap the base monad in ReaderT Since 1.0.11

  6. readBoundedChan :: MonadConc m => BoundedChan m a -> m a

    concurrency Control.Concurrent.Classy.BoundedChan

    Read an element from the channel. If the channel is empty, this routine will block until it is able to read. Blockers wait in a fair FIFO queue.

  7. readCRef :: MonadConc m => CRef m a -> m a

    concurrency Control.Concurrent.Classy.CRef

    Read the current value stored in a reference.

  8. readChan :: MonadConc m => Chan m a -> m a

    concurrency Control.Concurrent.Classy.Chan

    Read the next value from the Chan.

  9. readIORef :: MonadConc m => IORef m a -> m a

    concurrency Control.Concurrent.Classy.IORef

    Read the current value stored in a reference.

    readIORef ioref = readForCAS ioref >>= peekTicket
    

  10. readMVar :: MonadConc m => MVar m a -> m a

    concurrency Control.Concurrent.Classy.MVar

    Block until a value is present in the MVar, and then return it. This does not "remove" the value, multiple reads are possible.

Page 248 of many | Previous | Next