Hoogle Search

Within LTS Haskell 24.21 (ghc-9.10.3)

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

  1. maybeFFromStrVec :: Int -> Float -> String -> Maybe (Float, Float -> Vector (Float, Float))

    dobutokO2 DobutokO.Sound.FunctionF

    Gets a function f::Float -> OvertonesO that can be used further. Has two variants with usage of closestNote (Int argument is greater than 0)v and without it (Int argument is less than 0). For both cases String must be in a form list of tuples of pairs of Float to get somewhat reasonable result. The function f can be shown using a special printing function showFFromStrVec. It is a simplest multiplicative (somewhat acoustically and musically reasonable) form for the function that can provide such a result that fits into the given data.

    let (y,f1) = fromJust (maybeFFromStrVec 1 3583.9783 "[(25.368,0.2486356),(37.259,0.6464867),(486.153,0.374618646),(789.563,0.463486461)]") in (y,f1 3583.9783)
    
    (3520.0,[(25.829079975681818,0.2486356),(37.936206670369316,0.6464867),(494.9891484317899,0.374618646),(803.9138234326421,0.463486461)])
    
    let (y,f1) = fromJust (maybeFFromStrVec (-1) 3583.9783 "[(25.368,0.2486356),(37.259,0.6464867),(486.153,0.374618646),(789.563,0.463486461)]") in (y,f1 3583.9783)
    
    (3583.9783,[(25.368,0.2486356),(37.259,0.6464867),(486.153,0.374618646),(789.563,0.463486461)])
    

  2. maybeToUpdate :: Maybe a -> Update a

    ecstasy Data.Ecstasy

    Turn a Maybe into an Update.

  3. maybeToUpdate :: Maybe a -> Update a

    ecstasy Data.Ecstasy.Internal

    Turn a Maybe into an Update.

  4. maybeFasIdFromKrb :: IO (Maybe String)

    fedora-krb Fedora.Krb

    No documentation available.

  5. maybe' :: b -> (a -> b) -> Maybe' a -> b

    folds Data.Fold.Internal

    No documentation available.

  6. maybes2List :: [Maybe a] -> [a]

    funcmp FMP.Resolve

    No documentation available.

  7. maybeCharLikeCon :: DataCon -> Bool

    ghc-lib GHC.Builtin.Utils

    No documentation available.

  8. maybeIntLikeCon :: DataCon -> Bool

    ghc-lib GHC.Builtin.Utils

    No documentation available.

  9. maybeFlipCond :: Cond -> Maybe Cond

    ghc-lib GHC.CmmToAsm.X86.Cond

    maybeFlipCond c returns Just c' if it is possible to flip the arguments to the conditional c, and the new condition should be c'.

  10. maybeInvertCond :: Cond -> Maybe Cond

    ghc-lib GHC.CmmToAsm.X86.Cond

    If we apply maybeInvertCond to the condition of a jump we turn jumps taken into jumps not taken and vice versa. Careful! If the used comparison and the conditional jump don't match the above behaviour will NOT hold. When used for FP comparisons this does not consider unordered numbers. Also inverting twice might return a synonym for the original condition.

Page 74 of many | Previous | Next