Re:Linux kernel coding style
by derefr on Monday March 27, 2017 @10:57PM
(#13973690)
This reminds me of one diamond-in-the-rough of Erlang's syntax: rather than a module block, you just have a module-name attribute at the top of each file (where the entire file is then related to that module.) Your functions are just right there against the left of your screen!
[ Parent
| on HN ]
Re:Linux kernel coding style
by erik_seaberg on Monday March 27, 2017 @11:12PM
(#13973755)
Haskell has a module block, but you don't need to indent the content because the block can end at EOF.