update
This commit is contained in:
parent
caa83ef263
commit
c523820d58
1 changed files with 1 additions and 2 deletions
|
@ -35,6 +35,7 @@ each indented with a tab.
|
||||||
Where clauses for instance definitions and modules tend to appear at the end
|
Where clauses for instance definitions and modules tend to appear at the end
|
||||||
of a line, rather than on a separate line.
|
of a line, rather than on a separate line.
|
||||||
|
|
||||||
|
module Foo (Foo, mkFoo, unFoo) where
|
||||||
instance MonadBaseControl IO Annex where
|
instance MonadBaseControl IO Annex where
|
||||||
|
|
||||||
When a function's type signature needs to be wrapped to another line,
|
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
|
foo = let x = 42
|
||||||
in x + (x-1) + x
|
in x + (x-1) + x
|
||||||
|
|
||||||
(Of course, monadic let binding are no problem.)
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue