0

How I can rewrite the code?

foo=do
   str <− readFile "foo" 
   writeFile "bar" str

To 1 line without using do and <-?

0 Answers0