bind -package:zeromq4-haskell

Bind the socket to an address. The socket must not already be bound. The Family passed to bind must be the same as that passed to socket. If the special port number defaultPort is passed then the system assigns the next available use port.
Bind the socket to an address. The socket must not already be bound. The Family passed to bind must be the same as that passed to socket. If the special port number defaultPort is passed then the system assigns the next available use port.
Monadic indexed bind for holey monoids.
Binds parameters to a prepared statement. Once nextRow returns Nothing, the statement must be reset with the reset function before it can be executed again by calling nextRow.
Binding constructor.
Properties to check that the bind m satisfies the bind properties
Implementation of >>= without the Empty constraint that is needed for return.
O(n). The monad bind operation, (>>=), for multisets.
O(n). The monad bind operation, (>>=), for multisets.
Convenience function for binding values to all parameters. This will fail if the list has the wrong number of parameters.
Monadic bind.
bind n f provides f with a fresh variable, which can be used in any extended context. Returns an Abs which binds the extra variable.
Function name for >>=, as fmap is to <$>.
Bind a socket to an address.
  • Calling bind on a closed socket throws eBadFileDescriptor even if the former file descriptor has been reassigned.
  • It is assumed that bind never blocks and therefore eInProgress, eAlready and eInterrupted don't occur. This assumption is supported by the fact that the Linux manpage doesn't mention any of these errors, the Posix manpage doesn't mention the last one and even MacOS' implementation will never fail with any of these when the socket is configured non-blocking as argued here.
  • This operation throws SocketExceptions. Consult your man page for details and specific errnos.