ini-qq: Quasiquoter for INI

[ bsd3, configuration, data, library ] [ Propose Tags ]

This library provides quasiquoters for the ini package.


[Skip to Readme]

Modules

[Index]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0
Dependencies base (>=4.7 && <5), ini (>=0.3 && <0.4), template-haskell (>=2.10), text [details]
License BSD-3-Clause
Copyright BSD3
Author Kwang Yul Seo
Maintainer kwangyul.seo@gmail.com
Category Data, Configuration
Home page https://github.com/kseo/ini-qq#readme
Source repo head: git clone https://github.com/kseo/ini-qq
Uploaded by kseo at 2016-07-15T02:23:38Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 916 total (3 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2016-07-15 [all 1 reports]

Readme for ini-qq-0.1.0.0

[back to package description]

ini-qq Build Status

Quasiquote for INI.

Usage

{-# LANGUAGE QuasiQuotes #-}

import Data.Ini
import Data.Ini.QQ

testIni :: Ini
testIni = [ini|
# Some comment.
[SERVER]
port=6667
hostname=localhost
; another comment here
[AUTH]
user: hello
pass: world
salt:|]
# Some comment.
[SERVER]
port=6667
hostname=localhost
[AUTH]
user=hello
pass=world
# Salt can be an empty string.
salt=|]