Hoogle Search

Within LTS Haskell 24.68 (ghc-9.10.3)

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

  1. fieldReadonly :: (Unjson a, Typeable a) => Text -> (s -> a) -> Text -> Ap (FieldDef s) ()

    unjson Data.Unjson

    Declare a field that is readonly from the point of view of Haskell structures, it will be serialized to JSON but never read from JSON. Example:

    unjsonThing :: UnjsonDef Thing
    unjsonThing = objectOf $ pure (\s -> Thing 59123 s)
    <* fieldReadonly "port"
    thingPort
    "Random port the server is listening on"
    <*> field "string"
    thingString
    "Additional string"
    
    data Thing = Thing { thingPort :: Int, thingString :: String, ... }
    

  2. fieldReadonlyBy :: Typeable a => Text -> (s -> a) -> Text -> UnjsonDef a -> Ap (FieldDef s) ()

    unjson Data.Unjson

    Declare a field that is readonly from the point of view of Haskell structures, it will be serialized to JSON but never read from JSON. Accepts unjson parser as a parameter. Example:

    unjsonThing :: UnjsonDef Thing
    unjsonThing = objectOf $ pure (\s -> Thing 59123 s)
    <* fieldReadonlyBy "port"
    thingPort
    "Random port the server is listening on"
    unjsonPort
    <*> field "string"
    thingString
    "Additional string"
    
    data Thing = Thing { thingPort :: Port, thingString :: String, ... }
    

  3. setOwnerReadable :: Bool -> Permissions -> Permissions

    unliftio-path UnliftIO.Path.Directory

    No documentation available.

  4. EmailAlreadyExists :: UpdateUserError

    users Web.Users.Types

    No documentation available.

  5. EmailAlreadyTaken :: CreateUserError

    users Web.Users.Types

    No documentation available.

  6. UsernameAlreadyExists :: UpdateUserError

    users Web.Users.Types

    No documentation available.

  7. UsernameAlreadyTaken :: CreateUserError

    users Web.Users.Types

    No documentation available.

  8. UsernameAndEmailAlreadyTaken :: CreateUserError

    users Web.Users.Types

    No documentation available.

  9. b_allocRead :: BufferId -> FilePath -> Int32 -> Maybe Int32 -> Maybe OSC -> OSC

    vivid-supercollider Vivid.SC.Server.Commands

    subsection:: /b_allocRead Allocate buffer space and read a sound file. table:: ## strong::int:: || buffer number ## strong::string:: || path name of a sound file. ## strong::int:: || starting frame in file (optional. default = 0) ## strong::int:: || number of frames to read (optional. default = 0, see below) ## strong::bytes:: || an OSC message to execute upon completion. (optional) :: Allocates buffer to number of channels of file and number of samples requested, or fewer if sound file is smaller than requested. Reads sound file data from the given starting frame in the file. If the number of frames argument is less than or equal to zero, the entire file is read. definitionlist:: ## Asynchronous. || Replies to sender with strong::done b_allocRead bufNum:: when complete. :: The first Int32 is the starting frame to read (often this is zero); the second is an optional number of frames to read (Nothing means the rest of the file is read)

  10. getReadProof :: JsonRpc m => [HexString] -> Maybe HexString -> m ReadProof

    web3-polkadot Network.Polkadot.Rpc.State

    Returns proof of storage entries at a specific block state.

Page 835 of many | Previous | Next