
1 Oct
2010
1 Oct
'10
3:57 a.m.
Am Sonntag, den 26.09.2010, 17:25 +0100 schrieb Maciej Piechotka:
I use it in following way;
1. For short sharing name (rarely)
let a = b ++ c in (a, a)
2. Default
let a :: [Int] a = b ++ c f :: Int -> String f 0 = "" f x = show x in map f a
I like to separate declaration by empty lines: let a :: [Int] a = b ++ c f :: Int -> String f 0 = "" f x = show x in map f a I think this is much more readable, since you can easily see which of those lines belong together. Best wishes, Wolfgang