What does Ops stand for?

允我心安 提交于 2020-07-09 08:51:38

问题


In Scala community I see often, that classes end with Ops are very common. For example:

ApplicativeErrorIdOps

What does Ops stand for?


回答1:


Ops = Operations. This is quite commonly used shortcut not only in Scala but in general.

In Cats it's used as a suffix of an extension methods class because it enriches the value with operations related to some type class.



来源:https://stackoverflow.com/questions/62553798/what-does-ops-stand-for

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!