There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

barsoap ,

It’s not just old Haskell code that’s how you write Haskell if you want explicit braces. Well, mostly generate, but it’s still the idiomatic formatting (and when you generate you always generate braces because it’s easy to get layout subtly wrong when generating).

Haskell also does the whole


<span style="font-weight:bold;color:#a71d5d;">data </span><span style="color:#0086b3;">Foo </span><span style="font-weight:bold;color:#a71d5d;">= </span><span style="color:#0086b3;">Bar
</span><span style="color:#323232;">         </span><span style="font-weight:bold;color:#a71d5d;">| </span><span style="color:#0086b3;">Baz
</span><span style="color:#323232;">         </span><span style="font-weight:bold;color:#a71d5d;">| </span><span style="color:#0086b3;">Quux
</span><span style="color:#323232;">
</span><span style="color:#323232;">foo </span><span style="font-weight:bold;color:#a71d5d;">=</span><span style="color:#323232;"> [ </span><span style="color:#0086b3;">Bar
</span><span style="color:#323232;">      , </span><span style="color:#0086b3;">Baz
</span><span style="color:#323232;">      , </span><span style="color:#0086b3;">Quux
</span><span style="color:#323232;">      ]
</span>

thing, makes sense to apply it to braces especially as they’re seen only very rarely. Single-line, yes, but not multi-line.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines