
14 Mar
2018
14 Mar
'18
11:32 p.m.
Hi, Am Mittwoch, den 14.03.2018, 10:34 -0400 schrieb David Feuer:
That seems reasonable. But I wonder if pattern matching failure in IO do should be allowed to slip by silently, or whether we should exclude the otherwise-reasonable instance to catch more mistakes.
main = do [path] <- getArgs … do some stuff… is a fairly useful and (presumably) common idiom for small, one-off scripts. I am leaning to keep allowing that. Cheers, Joachim -- Joachim Breitner mail@joachim-breitner.de http://www.joachim-breitner.de/