![]() Also, most people write their generators in the Q monad even when they don't have to, which is like writing bla :: IO Int bla = return 3 you are giving a function more "environment" than it needs, and clients of the function are required to provide that environment as an effect of that.įinally, there are some things that make TH functions less fun to use as an end-user: Some people don't know this, and because of that, they create multiple overloaded versions of essentially the same functions with the same functionality, and these functions lead to a certain bloat effect. Did you know that you can write forM_ generateLens? Q is just a monad, so you can use all of the usual functions on it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |