4 ms·
The code: do conf <- readConfigData c <- openDbConnection Or just do c <- openDbConnection =<< readConfigData -- do something with
by davorak 13y ago
The code:
do
conf <- readConfigData
c <- openDbConnection
Or just
do
c <- openDbConnection =<< readConfigData
-- do something with c
Where `=<<` can be thought of an infix apply for monads.