Avoid fmap operator for 7.8 compat
Getty Ritter
7 years ago
25 | 25 |
port <- fieldOf "port" number
|
26 | 26 |
return NetworkConfig { netHost = host, netPort = port }
|
27 | 27 |
locCf <- sectionMb "LOCAL" $
|
28 | |
LocalConfig <$> field "user"
|
| 28 |
LocalConfig `fmap` field "user"
|
29 | 29 |
return Config { cfNetwork = netCf, cfLocal = locCf }
|
30 | 30 |
|
31 | 31 |
main :: IO ()
|