Browse thread
Value shadowing
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Pierre Etchemaïté <petchema@c...> |
| Subject: | Re: [Caml-list] Value shadowing (tangent) |
Le Wed, 13 Aug 2008 12:05:46 +0100, Vincent Hanquez <tab@snarc.org> a écrit : > however i understand why some people do it the first way. after the "in" > you're in some sort of new scope (previous scope augmented by your > let binds) On the other hand, the 'let' scope will end exactly at the same place as the englobing scope. Since you can't close one without closing the other, it doesn't make a lot of sense (both practically and mentally) to distinguish them, thru indentation of otherwise. I guess that's what 'justifies' the recommended indentation. Best regards, Pierre.