Hoogle Search
Within LTS Haskell 24.42 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
Lua module to work with version specifiers. Wrapper for the Data.Version.Version Haskell type.
-
Lua module to work with file zips. Module with function for creating, modifying, and extracting files from zip archives.
package
hspec-expectations-json Hspec expectations for JSON Values Hspec expectations for JSON Values Comparing JSON Values in Haskell tests comes with some challenges:
- In API responses, additive changes are typically safe and an important way to evolve responses without breaking clients. Therefore, assertions against such responses often want to ignore any unexpected keys in Objects (at any depth), as any clients would.
- Order often doesn't matter in API responses either, so it should be possible to assert equality regardless of Array ordering (again, at any depth).
- When an assertion fails, showing the difference clearly needs to take the above into account (i.e. it can't show keys you've ignored, or ordering differences you didn't care about), and it has to display things clearly, e.g. as a diff.
-
Use tests to monitor changes in Aeson serialization Use tests to monitor changes in Aeson serialization
-
A version of Hspec which is used to test Hspec itself A stable version of Hspec which is used to test the in-development version of Hspec.
-
Bindings to TagLib, audio meta-data library Bindings to TagLib, audio meta-data library.
-
Map from HTML5 entity names to the corresponding Unicode text Map from HTML5 entity names to the corresponding Unicode text.
-
A high-performance HTML tokenizer This package provides a fast and reasonably robust HTML5 tokenizer built upon the attoparsec library. The parsing strategy is based upon the HTML5 parsing specification with few deviations. For instance,
>>> parseTokens "<div><h1 class=widget>Hello World</h1><br/>" [TagOpen "div" [], TagOpen "h1" [Attr "class" "widget"], ContentText "Hello World", TagClose "h1", TagSelfClose "br" []]
The package targets similar use-cases to the venerable tagsoup library, but is significantly more efficient, achieving parsing speeds of over 80 megabytes per second on modern hardware and typical web documents. Here are some typical performance numbers taken from parsing a Wikipedia article of moderate length:benchmarking Forced/tagsoup fast Text time 186.1 ms (175.3 ms .. 194.6 ms) 0.999 R² (0.995 R² .. 1.000 R²) mean 191.7 ms (188.9 ms .. 198.3 ms) std dev 5.053 ms (1.092 ms .. 6.809 ms) variance introduced by outliers: 14% (moderately inflated) benchmarking Forced/tagsoup normal Text time 189.7 ms (182.8 ms .. 197.7 ms) 0.999 R² (0.998 R² .. 1.000 R²) mean 196.5 ms (193.1 ms .. 202.1 ms) std dev 5.481 ms (2.141 ms .. 7.383 ms) variance introduced by outliers: 14% (moderately inflated) benchmarking Forced/html-parser time 15.81 ms (15.75 ms .. 15.89 ms) 1.000 R² (1.000 R² .. 1.000 R²) mean 15.72 ms (15.66 ms .. 15.77 ms) std dev 140.9 μs (113.6 μs .. 174.5 μs)
-
http-client backend using the OpenSSL library. Hackage documentation generation is not reliable. For up to date documentation, please see: http://www.stackage.org/package/http-client.
-
http directory listing library Library for listing the files (href's) in an http directory. It can also check the size, existence, modtime of files, and url redirects.