News for hackers. Stuff that matters.
Re:Haskell in Production by whateveracct on Friday October 18, 2019 @12:46AM (#21288763)
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.
Re:Haskell in Production by sullyj3 on Friday October 18, 2019 @07:30PM (#21295862)
Knowing you can <$> <*> >>= doesn't mean you know what something does/what it's for though.
Re:Haskell in Production by whateveracct on Friday October 18, 2019 @10:11PM (#21296378)
But 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.