Popularity
8.4
Stable
Activity
0.0
Stable
51
3
11
Monthly Downloads: 48
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
Tags:
Data
Latest version: v1.2.13
here alternatives and similar packages
Based on the "Data" category.
Alternatively, view here alternatives based on common mentions on social networks and blogs.
-
semantic-source
Parsing, analyzing, and comparing source code across many languages -
text
Haskell library for space- and time-efficient operations over Unicode text. -
code-builder
Packages for defining APIs, running them, generating client code and documentation. -
compendium-client
Mu (μ) is a purely functional framework for building micro services. -
cassava
A CSV parsing and encoding library optimized for ease of use and high performance -
resource-pool
A high-performance striped resource pooling implementation for Haskell -
primitive
This package provides various primitive memory-related operations. -
discrimination
Fast linear time sorting and discrimination for a large class of data types -
reflection
Reifies arbitrary Haskell terms into types that can be reflected back into terms -
dependent-sum
Dependent sums and supporting typeclasses for comparing and displaying them -
dependent-map
Dependently-typed finite maps (partial dependent products) -
streaming
An optimized general monad transformer for streaming applications, with a simple prelude of functions -
orgmode-parse
Attoparsec parser combinators for parsing org-mode structured text! -
text-icu
This package provides the Haskell Data.Text.ICU library, for performing complex manipulation of Unicode text. -
scientific
Arbitrary-precision floating-point numbers represented using scientific notation
Static code analysis for 29 languages.
Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.
Promo
www.sonarqube.org
Do you think we are missing an alternative of here or a related project?
README
here
here
is a package that adds support for multi-line string literals (a.k.a. "here docs") and string interpolation to Haskell via GHC's QuasiQuotes
extension.
The quoted expressions behave like string literals in the source code; that is, they produce values of type String
, or, with the OverloadedStrings
language extension enabled, values of type IsString a => a
.
The package includes six quasiquoters:
here
: Strips leading and trailing whitespace. This allows you to add a line break after the opening quote bracket, which looks nicer.hereLit
: Quotes the here doc literally, with no whitespace strippinghereFile
: Quotes a file's contents as a here doci
: LikehereLit
, but with the ability to interpolate the values of antiquoted Haskell expressions (bracketed by${
and}
)iTrim
: Likei
, but trimming leading and trailing whitespace as withhere
template
: Applies string interpolation to a file, as a simple template engine
Example
{-# LANGUAGE QuasiQuotes #-}
import Data.Char
import Data.String.Here
main = do let foo = "foo"
putStrLn [i|"foo", when capitalized, is ${map toUpper foo}!|]
putStrLn [here|
Hello world,
I am a multiline here doc!
|]
Output
"foo", when capitalized, is FOO!
Hello world,
I am a multiline here doc!