Hoogle Search
Within LTS Haskell 24.6 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
Efficient and flexible strict text builder
Summary
Fast strict text builder and simple type-safe formatting library.The Builder
The builder abstraction provided by this library is much faster than the standard lazy Builder and even the recently introduced StrictTextBuilder from "text". Benchmarks are distributed with the source code. You can see the results in the README file. The abstraction constructs text in two phases. In the first one it estimates the size of the byte array and in the second one it allocates it once and populates it in one go.Simple and type-safe formatting library
The monoidal API of the library provides a simple yet type-safe alternative to formatting strings via printf-like tools or more involved solutions like the popular "formatting" library.Quality
Every bit of the library is heavily covered with tests with CI running tests on a variety of versions of GHC and the "text" library. This is crucial because the "text" library has made a switch from UTF-16 to UTF-8, leading to drastic changes in its low-level constructs, which builder libraries must rely on, and this library supports both versions of "text".Ecosystem
Following is a list of libraries that, alongside this one, make an integrated ecosystem:- "text-builder-time" - formatters for the "time" library
- "text-builder-core" - lower-level unsafe constructs for implementing efficient formatters compatible with this library
- "text-builder-dev" - edge of development of new features providing a richer functionality at the cost of more frequent major releases
- "text-builder-lawful-conversions" - integration with the "lawful-conversions" library, providing bidirectional conversions with various types including String, Data.Text.Text, Data.Text.Lazy.Text, Data.Text.Lazy.Builder.Builder, Data.Text.Encoding.StrictTextBuilder.
-
Builder for Text and ByteString based on linear types Strict Text and ByteString builder, which hides mutable buffer behind linear types and takes amortized linear time.
-
Unbounded thread delays and timeouts The threadDelay and timeout functions from the base library use the bounded Int type for specifying the delay or timeout period. This packages provides alternatives which use the unbounded Integer type.
-
Help writing simple, concise and fast generic operations. Uniplate is library for writing simple and concise generic operations. Uniplate has similar goals to the original Scrap Your Boilerplate work, but is substantially simpler and faster. To get started with Uniplate you should import one of the three following modules:
- Data.Generics.Uniplate.Data - to quickly start writing generic functions. Most users should start by importing this module.
- Data.Generics.Uniplate.Direct - a replacement for Data.Generics.Uniplate.Data with substantially higher performance (around 5 times), but requires writing instance declarations.
- Data.Generics.Uniplate.Operations - definitions of all the operations defined by Uniplate. Both the above two modules re-export this module.
- Data.Generics.Uniplate.Zipper - a zipper built on top of Uniplate instances.
- Data.Generics.SYB - users transitioning from the Scrap Your Boilerplate library.
- Data.Generics.Compos - users transitioning from the Compos library.
- Data.Generics.Uniplate.DataOnly - users making use of both Data and Direct to avoid getting instance conflicts.
-
Unix time parser/formatter and utilities Fast parser/formatter/utilities for Unix time
-
Size tagged vectors Please see README.md
-
A basic implementation of the XDG Base Directory specification. On Unix platforms, this should be a very straightforward implementation of the XDG Base Directory spec. On Windows, it will attempt to do the right thing with regards to choosing appropriate directories.
-
Creation of type-safe, RESTful web applications. API docs and the README are available at http://www.stackage.org/package/yesod
-
Form handling support for Yesod Web Framework API docs and the README are available at http://www.stackage.org/package/yesod-form. Third-party packages which you can find useful: yesod-form-richtext - richtext form fields (currently it provides only Summernote support).
-
Yi editor core library Yi editor core library