Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Formatter produces too many blank lines for nested specs #73

Closed
sol opened this Issue May 27, 2012 · 0 comments

Comments

Projects
None yet
1 participant
Owner

sol commented May 27, 2012

List as a Monoid

  mappend
   - is associative

  mempty
   - mempty is a left identity
   - mempty is a right identity

Finished in 0.1138 seconds, used 0.0760 seconds of CPU time

3 examples, 0 failures

I think we do not want the blank line after List as a Monoid, but this is not trivial to implement (we'd probably need some combinators for pretty-printing). Maybe we just remove all the blank lines, like so:

List as a Monoid
  mappend
   - is associative
  mempty
   - mempty is a left identity
   - mempty is a right identity

Finished in 0.1138 seconds, used 0.0760 seconds of CPU time

3 examples, 0 failures

Not sure. Opinions?

@sol sol closed this in 396d283 Oct 11, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment