Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nathanic
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
2 ms
·
1.
▲
by
nathanic
17y ago
I think I misunderstood you before. I thought you were talking about putting multiple statements on a line. But Haskell can pass around code blocks as well, with or without significant whitespace. For example, I can define a function calle
2.
▲
by
nathanic
17y ago
I personally like how Haskell can combine the two. You can have: myFunc = do this that other Or equivalently: myFunc = do { this; that; other; }