empty
If the SampleVar is full, leave it empty. Otherwise, do nothing.
An empty immutable array.
An empty document
O(1). The empty map.
> empty == fromList []
> size empty == 0
O(1). The empty set.
O(1). The empty map.
> empty == fromList []
> size empty == 0
O(1). The empty sequence.
O(1). The empty set.
Smart constructor for Empty.
Construct the empty value for a datatype. For algebraic datatypes, the leftmost constructor is chosen.
empty sequence
empty sequence
Returns True if the supplied Chan is empty.
Check whether a given MVar is empty.
Notice that the boolean value returned is just a snapshot of the state of the MVar. By the time you get to react on its result, the MVar may have been filled (or emptied) - so be extremely careful when using this operation. Use tryTakeMVar instead if possible.
Returns True if the SampleVar is currently empty.
Note that this function is only useful if you know that no other threads can be modifying the state of the SampleVar, because otherwise the state of the SampleVar may have changed by the time you see the result of isEmptySampleVar.
Create an MVar which is initially empty.
Returns True if the document is empty
Returns True if the document is empty
Check whether a given TMVar is empty.
Create a TMVar which is initially empty.
When you want to state that a list should always be non-empty, you can use this type. This enables you to avoid the error of taking the head or tail of an empty list.
Version 0.1
NonEmpty xs: guarantees that xs is non-empty.
A list with a length of at least one and type-safe head/tail operations.
Version 0.0.9
Remove leading crlfs then call readTillEmpty2 (not required by RFC)
Show more results