dump: Dumps the names and values of expressions to ease debugging.

[ development, library, mit, quasiquotes ] [ Propose Tags ]

Example: "let a=1 in [d|a, a+1|] == "(a) = 1, (a+1) = 2""


[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.1.1, 0.1.2, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5, 0.2.6, 0.2.7, 0.2.8
Dependencies base (>=4 && <5), haskell-src-meta, interpolatedstring-perl6, template-haskell, text [details]
License MIT
Author Milán Nagy
Maintainer dumplibhs.psssst@dfgh.net
Category Development
Home page https://github.com/Wizek/dump
Source repo head: git clone git://github.com/Wizek/dump.git
Uploaded by Wizek at 2015-07-20T07:34:22Z
Distributions NixOS:0.2.8
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 7370 total (33 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for dump-0.2.2

[back to package description]

Example usage:

{-# LANGUAGE QuasiQuotes #-}

import Debug.Dump

main = print [d|a, a+1, map (+a) [1..3]|]
  where a = 2

which prints:

(a) = 2   (a+1) = 3       (map (+a) [1..3]) = [3,4,5]

Have alook at the list of features!.

Concieved at http://stackoverflow.com/q/31349556/499478