Hoogle Search
Within LTS Haskell 24.51 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
foundation Foundation Proxy is a type that holds no data, but has a phantom parameter of arbitrary type (or even kind). Its use is to provide type information, even though there is no value available of that type (or it may be too costly to create one). Historically, Proxy :: Proxy a is a safer alternative to the undefined :: a idiom.
>>> Proxy :: Proxy (Void, Int -> Int) Proxy
Proxy can even hold types of higher kinds,>>> Proxy :: Proxy Either Proxy
>>> Proxy :: Proxy Functor Proxy
>>> Proxy :: Proxy complicatedStructure Proxy
-
foundation Foundation No documentation available.
-
foundation Foundation.Array Represent the accessor for types that can be stored in the UArray and MUArray. Types need to be a instance of storable and have fixed sized.
Prop :: Gen PropertyTestArg -> Propertyfoundation Foundation.Check No documentation available.
Property :: forall prop . IsProperty prop => String -> prop -> Testfoundation Foundation.Check No documentation available.
-
foundation Foundation.Check No documentation available.
-
foundation Foundation.Check The type of check this test did for a property
-
foundation Foundation.Class.Storable A value of type Ptr a represents a pointer to an object, or an array of objects, which may be marshalled to or from Haskell values of type a. The type a will often be an instance of class Storable which provides the marshalling operations. However this is not essential, and you can provide your own operations to access the pointer. For example you might write small foreign functions to get or set the fields of a C struct.
-
The current implementation is mainly, if not copy/pasted, inspired from memory's Parser. Foundation Parser makes use of the Foundation's Collection and Sequential classes to allow you to define generic parsers over any Sequential of inpu. This way you can easily implements parsers over LString, String.
flip parseOnly "[email protected]" $ do EmailAddress <$> (takeWhile ((/=) '@' <* element '@') <*> takeAll
-
foundation Foundation.Parser common parser error definition