Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

keep empty lines #45

Closed
s-trooper opened this issue Jul 2, 2013 · 2 comments
Closed

keep empty lines #45

s-trooper opened this issue Jul 2, 2013 · 2 comments

Comments

@s-trooper
Copy link
Contributor

please keep empty lines:

i.e for nested let's:

let f1 = 
    let f2 x = 
        x + 1
    let f3 y = 
        y + 1
    x + y

vs

let f1 = 
    let f2 x = 
        x + 1

    let f3 y = 
        y + 1

    x + y

or 2 empty lines for top level let's like python

@dungpa
Copy link
Contributor

dungpa commented Jul 17, 2013

Steps to hand this issue:

  • Recognize a list of LetOrUse patterns.
  • Split them into one-liner and multiline chunks.
  • Process those similar to what we did with let bindings, member declarations and signatures.

@dungpa dungpa closed this as completed in 414b4f3 Aug 3, 2013
@dungpa
Copy link
Contributor

dungpa commented Aug 16, 2013

@s-trooper The fix has been available in Fantomas extension v0.7.0. Thank you for reporting this.

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

No branches or pull requests

2 participants