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.
findFirstItemFd :: Fd -> SearchKey -> (SearchHeader -> Ptr i -> IO a) -> IO abtrfs System.Linux.Btrfs No documentation available.
findFirstItem :: RawFilePath -> SearchKey -> (SearchHeader -> Ptr i -> IO a) -> IO abtrfs System.Linux.Btrfs.ByteString No documentation available.
findFirstItemFd :: Fd -> SearchKey -> (SearchHeader -> Ptr i -> IO a) -> IO abtrfs System.Linux.Btrfs.ByteString No documentation available.
fieldLineToFirstRow :: FieldLine (Position, [Comment Position]) -> Intcabal-gild CabalGild.Unstable.Action.ReflowText Extracts the first row number from a field line, which might belong to one of its comments.
MonitorFirstRun :: MonitorChangedReason acabal-install Distribution.Client.FileMonitor There was no saved monitor state, cached value etc. Ie the file for the FileMonitor does not exist.
MonitorFirstRun :: MonitorChangedReason acabal-install Distribution.Client.ProjectBuilding There was no saved monitor state, cached value etc. Ie the file for the FileMonitor does not exist.
MonitorFirstRun :: MonitorChangedReason acabal-install Distribution.Client.ProjectBuilding.Types There was no saved monitor state, cached value etc. Ie the file for the FileMonitor does not exist.
findFirstFileMonitored :: (a -> FilePath) -> [a] -> Rebuild (Maybe a)cabal-install Distribution.Client.RebuildMonad Like findFirstFile, but in the Rebuild monad.
module Cardano.CoinSelection.Algorithm.
LargestFirst This module contains an implementation of the Largest-First coin selection algorithm.
largestFirst :: forall i (m :: Type -> Type) o . (Ord i, Monad m) => CoinSelectionAlgorithm i o mcardano-coin-selection Cardano.CoinSelection.Algorithm.LargestFirst An implementation of the Largest-First coin selection algorithm. The Largest-First coin selection algorithm considers available inputs in descending order of value, from largest to smallest. When applied to a set of requested outputs, the algorithm repeatedly selects entries from the available inputs set until the total value of selected entries is greater than or equal to the total value of requested outputs.
Change Values
If the total value of selected inputs is greater than the total value of all requested outputs, the change set of the resulting selection will contain a single coin with the excess value. If the total value of selected inputs is exactly equal to the total value of all requested outputs, the change set of the resulting selection will be empty.Failure Modes
The algorithm terminates with an error if:- The total value of inputsAvailable (the amount of money available) is less than the total value of outputsRequested (the amount of money required).See: InputValueInsufficientError.
- It is not possible to cover the total value of outputsRequested without selecting a number of inputs from inputsAvailable that would exceed the maximum defined by limit.See: InputLimitExceededError.