aboutsummaryrefslogtreecommitdiff
path: root/doc/coding_style.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-10-28 21:35:38 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-10-28 21:35:38 -0400
commitc18f6c3c44a3bea8d7ddc873db054f64e11745ae (patch)
treee6ae6723dc7a61a77a5b74163516ff3f6a6dc350 /doc/coding_style.mdwn
parent8f0c5a5e1953684c1000bcf0c2ed2b679021a40c (diff)
update
Diffstat (limited to 'doc/coding_style.mdwn')
-rw-r--r--doc/coding_style.mdwn3
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/coding_style.mdwn b/doc/coding_style.mdwn
index 2d73b37b7..76a25a4b4 100644
--- a/doc/coding_style.mdwn
+++ b/doc/coding_style.mdwn
@@ -35,6 +35,7 @@ each indented with a tab.
Where clauses for instance definitions and modules tend to appear at the end
of a line, rather than on a separate line.
+ module Foo (Foo, mkFoo, unFoo) where
instance MonadBaseControl IO Annex where
When a function's type signature needs to be wrapped to another line,
@@ -82,5 +83,3 @@ name in a let clause, this is sometimes used:
foo = let x = 42
in x + (x-1) + x
-
-(Of course, monadic let binding are no problem.)