network
Low-level networking interface (by haskell)
attoparsec
A fast Haskell library for parsing ByteStrings (by haskell)
Our great sponsors
network | attoparsec | |
---|---|---|
3 | 6 | |
319 | 508 | |
1.3% | 0.4% | |
5.4 | 3.4 | |
6 days ago | 4 months ago | |
Haskell | Haskell | |
GNU General Public License v3.0 or later | BSD 3-clause "New" or "Revised" License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
network
Posts with mentions or reviews of network.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-03-24.
-
Haskell - Important Libraries
network
-
Monthly Hask Anything (February 2022)
After some more searching I did find that the network package has caused issues compiling on windows before (e.g. this issue). The only change that 3.1.2.7 introduced was actually to try to make it work on windows. Maybe they did not succeed completely? I think it is a good idea to open an issue on their issue tracker: https://github.com/haskell/network/issues.
-
Exposing network package
Same: https://hackage.haskell.org/package/network
attoparsec
Posts with mentions or reviews of attoparsec.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-03-24.
-
Functional Implementation of a parser?
The basic idea is to create a state monad (usually using the State monad transformer) which contains a string to be parsed, and which also lifts other monad transformers like Except for throwing syntax errors. Or you can use a parser combinator like Parser provided by a parsing library like Megaparsec or Attoparsec that defines an efficient State+Except monad transformer combination for you.
-
Haskell - Important Libraries
attoparsec
-
On a daily base in this sub
good libraries for parsing: parsec, attoparsec etc.
- Parser Combinators in Haskell
-
Splitting html tags string into list of string
The more "idiomatic" way would be to use a parser library, e.g. parsec, attoparsec, or megaparsec. But even then I think it would be a lot easier to maintain if you could preserve the angle brackets <> in the input.
-
Ditch regex for parser combinators, a Rust / nom step-by-step guide
- https://hackage.haskell.org/package/attoparsec - https://hackage.haskell.org/package/megaparsec
What are some alternatives?
When comparing network and attoparsec you can also consider the following projects:
wol - A program and library to a send WoL Magic Packet, to remotely start a computer.
megaparsec - Industrial-strength monadic parser combinator library
hbeanstalk - haskell client for beanstalk message queue
parsec - A monadic parser combinator library
network-bitcoin
attoparsec-parsec - An Attoparsec compatibility layer for Parsec
discord-haskell - Haskell library for writing Discord bots
attoparsec-data - Parsers for the standard Haskell data types
twilio - Twilio library for Haskell
parsers - Generic parser combinators
consul-haskell - A haskell client library for consul (consul.io)
parser-combinators - Lightweight package providing commonly useful parser combinators