The ini-qq package

[Tags:bsd3, library, test]

This library provides quasiquoters for the ini package.


[Skip to Readme]

Properties

Versions 0.1.0.0
Dependencies base (>=4.7 && <5), ini (==0.3.*), template-haskell (>=2.10), text [details]
License BSD3
Copyright BSD3
Author Kwang Yul Seo
Maintainer kwangyul.seo@gmail.com
Category Data, Configuration
Home page https://github.com/kseo/ini-qq#readme
Source repository head: git clone https://github.com/kseo/ini-qq
Uploaded Fri Jul 15 02:23:38 UTC 2016 by kseo
Distributions NixOS:0.1.0.0
Downloads 59 total (8 in the last 30 days)
Votes
0 []
Status Docs available [build log]
Last success reported on 2016-07-15 [all 1 reports]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for ini-qq

Readme for ini-qq-0.1.0.0

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=|]