
30 Jul
2010
30 Jul
'10
10:23 a.m.
Brandon S Allbery KF8NH
On 7/29/10 18:19 , Ivan Lazar Miljenovic wrote:
"IO (Either a String)" action, yet the function only returns an "IO String".
readProcess "date" [] [] Right "Thu Feb 7 10:03:39 PST 2008\n"
That looks like an Either to me...
Well, yes; I'm guessing at some point in the distant pass readProcess returned an Either instead of throwing an error if the process didn't exit successfully. -- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com IvanMiljenovic.wordpress.com