| Copyright | Gautier DI FOLCO |
|---|---|
| License | ISC |
| Maintainer | Gautier DI FOLCO <foss@difolco.dev> |
| Stability | Unstable |
| Portability | GHC |
| Safe Haskell | None |
| Language | Haskell2010 |
Data.NonEmpty.QQ
Contents
Description
Create NonEmpty values from quasi-quoting instead of unsafe functions.
Since 0.1.1.0
Synopsis
- neString :: QuasiQuoter
- trustedNonEmpty :: a -> NonEmpty a
Documentation
neString :: QuasiQuoter Source #
Build a NonEmpty IsString safely.
[neString|something|]
Since 0.1.1.0
Re-export
trustedNonEmpty :: a -> NonEmpty a Source #
Trusted value