3 ms·
The `parseJSON <$>` bit in my sample converts it to your type. If you don't like the infix applicative it could be written as: receiveResponse con (fmap pa
by enigmo 13y ago
The `parseJSON <$>` bit in my sample converts it to your type. If you don't like the infix applicative it could be written as:
receiveResponse con (fmap parseJSON . parseFromStream json)