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.
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, ... }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, ... }setOwnerReadable :: Bool -> Permissions -> Permissionsunliftio-path UnliftIO.Path.Directory No documentation available.
EmailAlreadyExists :: UpdateUserErrorusers Web.Users.Types No documentation available.
EmailAlreadyTaken :: CreateUserErrorusers Web.Users.Types No documentation available.
UsernameAlreadyExists :: UpdateUserErrorusers Web.Users.Types No documentation available.
UsernameAlreadyTaken :: CreateUserErrorusers Web.Users.Types No documentation available.
UsernameAndEmailAlreadyTaken :: CreateUserErrorusers Web.Users.Types No documentation available.
b_allocRead :: BufferId -> FilePath -> Int32 -> Maybe Int32 -> Maybe OSC -> OSCvivid-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)
getReadProof :: JsonRpc m => [HexString] -> Maybe HexString -> m ReadProofweb3-polkadot Network.Polkadot.Rpc.State Returns proof of storage entries at a specific block state.