Y
Hacker News
new
|
ask
|
show
|
jobs
by
rascul
3826 days ago
The indentation is fine, the alignment is broken. Tab to the indent level and align after that with spaces.
1 comments
MichaelGG
3826 days ago
The actual indent level is wherever the second let begins. It's equivalent to:
let x = let x = 1 x + 1
Seems inconsistent to have to use a mix of tabs and spaces in different scenarios of visual preference.
link