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.
wantNote :: (Alist -> Bool) -> BBDB -> Boolbbdb Database.BBDB Notes inside a BBDB record are awkward to get at. This helper function digs into the record and applies a function to each Alist element of the record. It returns true if it any of the Alists in the note return true. For example:
hasBirthday :: BBDB -> Bool hasBirthday = wantNote (\x -> key x == "birthday")
will return True for any BBDB record that has a "birthday" key in it's notes fieldmaximumByNote :: String -> (a -> a -> Ordering) -> [a] -> aboolsimplifier Data.BoolSimplifier No documentation available.
doesNotExistErrorType :: IOErrorTypeclassy-prelude-yesod ClassyPrelude.Yesod I/O error where the operation failed because one of its arguments does not exist.
isDoesNotExistError :: IOError -> Boolclassy-prelude-yesod ClassyPrelude.Yesod An error indicating that an IO operation failed because one of its arguments does not exist.
isDoesNotExistErrorType :: IOErrorType -> Boolclassy-prelude-yesod ClassyPrelude.Yesod I/O error where the operation failed because one of its arguments does not exist.
onotElem :: MonoFoldable mono => Element mono -> mono -> Boolclassy-prelude-yesod ClassyPrelude.Yesod Checks if the monomorphic container does not include the supplied element.
-
dobutokO2 DobutokO.Sound.Functional.Basics Returns the closest note to the given frequency in Hz.
dNote :: Int -> Float -> Maybe FloatdobutokO2 DobutokO.Sound.Functional.Basics Function to get from the number of semi-tones and a note a Maybe note for the second lower note in the interval if any. If there is no need to obtain such a note, then the result is Nothing.
neighbourNotes :: Float -> Vector Float -> (Float, Float)dobutokO2 DobutokO.Sound.Functional.Basics Function returns either the nearest two musical notes if frequency is higher than one for C0 and lower than one for B8 or the nearest note duplicated in a tuple.
pureQuintNote :: Float -> FloatdobutokO2 DobutokO.Sound.Functional.Basics Returns a pure quint lower than the given note.