Our great sponsors
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.
We haven't tracked posts mentioning foop.hs yet.
Tracking mentions began in Dec 2020.
Spock web framework routing question
2 projects | /r/haskell | 28 Apr 2021
Based on https://github.com/agrafix/Spock/blob/master/reroute/src/Web/Routing/SafeRouting.hs#L134 it seems to use a Hashmap? (from Data.HashMap.Strict)2 projects | /r/haskell | 28 Apr 2021
Thanks, you are probably correct. Mistaken with insertion & matching functions working on a 2nd parameter of PathMap which is a plain list. Digged through Spock calls and ended up at hookRoute which builds-up an actual routing data structure, ie. strict HashMap.
What are some alternatives?
scotty - Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp (Official Repository)
open-browser - Haskell library for opening the web browser.
swagger-petstore - swagger-codegen contains a template-driven engine to generate documentation, API clients and server stubs in different languages by parsing your OpenAPI / Swagger definition.
forecast-io - A Haskell library for working with forecast.io data.
req - An HTTP client library
wai-cors - A Haskell implementation of Cross-Origin resource sharing (CORS) for Wai
gc-monitoring-wai - a wai application to show `GHC.Stats.GCStats`
blatex - :black_nib: Jekyll in Haskell (feat. LaTeX)
attoparsec-ip - Parsers for IP addresses
markdown - Convert Markdown to HTML, with XSS protection