| Copyright | (c) Kai Lindholm, 2014 |
|---|---|
| License | MIT |
| Maintainer | megantti@gmail.com |
| Stability | experimental |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.RTorrent.Command
Contents
Description
- data a :*: b = (:*:) !a !b
- class Command a where
- type Ret a
- data AnyCommand where
- AnyCommand :: Command a => a -> AnyCommand
Documentation
A strict 2-tuple for easy combining of commands.
Constructors
| (:*:) !a !b infixr 6 |
A typeclass for commands that can be send to RTorrent.
Minimal complete definition
AnyCommand
data AnyCommand where Source
Existential wrapper for any command.
Commands wrapped in AnyCommand won't parse their results.
AnyCommand can be used when you want to call multiple commands
but don't care about their return values.
Constructors
| AnyCommand :: Command a => a -> AnyCommand |
Instances
| Command AnyCommand | |
| type Ret AnyCommand = Value |