yak alternatives and similar packages
Based on the "network" category
Do you think we are missing an alternative of yak or a related project?
An experimental, radically over-engineered library for handling IRC messages in Haskell.
Every IRC message type has its own type, all hinging around the central
Msg is parameterized by a type level command string, and
a heterogeneous list of parameter types. Combined with a number of suitable
parameter types to encode the structure of an IRC message, this provides
a simple type level DSL for declaring IRC messages.
Messages can be
emitted (rendered) or
fetched (parsed). The behaviour of
these functions depends on the concrete type, as determined through type
inference or explicit annotation. There is an existential wrapper
passing around any IRC message.
Messages can be created using a polymorphic variadic function
serves as a general purpose constructor for all IRC message types.
Fields of messages can be accessed either through pattern matching on the
constructor and the parameter list therein, or through lenses. A TH function is
provided to generate lenses for newly defined message types.
Network.Yak.Client module defines message types commonly used by IRC
clients. It implements the "living standard" found
here. Responses can be found in
Network.Yak.Responses, and capability negotiation in
Network.Yak.Capabilities. This should suffice for most applications.
This library is highly experimental and the interface may turn out to be rather cumbersome to use. There are test cases in place for common IRC messages, but most of the library is untested