Module

URI.HostPortPair.Gen

Package
purescript-uri
Repository
purescript-contrib/purescript-uri

#genHostPortPair Source

genHostPortPair :: forall m host port. MonadGen m => m host -> m port -> m (HostPortPair host port)

Generates a random HostPortPair for testing purposes.

Re-exports from URI.Host.Gen

#genRegName Source

genRegName :: forall m. MonadGen m => MonadRec m => m RegName

Generates a random RegName for testing purposes.

#genIPv4 Source

genIPv4 :: forall m. MonadGen m => m IPv4Address

Generates a random IPv4Address for testing purposes.

#genHost Source

genHost :: forall m. MonadGen m => MonadRec m => m Host

Generates a random Host for testing purposes.

Re-exports from URI.Port.Gen

#genPort Source

genPort :: forall m. MonadGen m => m Port

Generates a random Port for testing purposes.