|
|
|
|
|
by throwway262515
71 days ago
|
|
Applicative operators effect from left to right. So the order of effects in getPerson :: IO Person
getPerson =
Person
<$> (putStrLn "Enter your first name:" *> getLine)
<*> (putStrLn "Enter your last name:" *> getLine)
is transparently clear (to a seasoned Haskeller). |
|
https://hackage-content.haskell.org/package/async-2.2.6/docs...