Copyright | (c) Kai Lindholm, 2014 |
---|---|
License | MIT |
Maintainer | megantti@gmail.com |
Stability | experimental |
Safe Haskell | None |
Language | Haskell2010 |
- 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.
(:*:) !a !b infixr 6 |
A typeclass for commands that can be send to RTorrent.
AnyCommand
data AnyCommand where Source
Existential wrapper for any command.
Command
s 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.
AnyCommand :: Command a => a -> AnyCommand |
Command AnyCommand | |
type Ret AnyCommand = Value |