2 ms·
We can quickly find out that ScottyM is a Functor/Applicative/Monad though. And in this code (and using this library in general), that's all we need to know! FA
by whateveracct 7y ago
We can quickly find out that ScottyM is a Functor/Applicative/Monad though. And in this code (and using this library in general), that's all we need to know! FAM is a universal interface.
- sullyj3 7y agoKnowing you can <$> <*> >>= doesn't mean you know what something does/what it's for though.
- whateveracct 7y agoBut it typically tells you how to compose such a thing, especially if it's 100% abstract to begin with (like Scotty.) It just becomes type Tetris.