Error in Haddock documentation for process

Ivan Lazar Miljenovic ivan.miljenovic at gmail.com
Thu Jul 29 18:19:33 EDT 2010


I just spotted the following problem in the documentation for
readProcess [1].  The documentation has the sample usage returning an
"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"

[1]: http://hackage.haskell.org/packages/archive/process/1.0.1.3/doc/html/System-Process.html#v%3AreadProcess

-- 
Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com
IvanMiljenovic.wordpress.com


More information about the Libraries mailing list