Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我一直在使用isNothing, from Esqueleto,但现在我想测试它是否是not null,我注意到没有isJust,我想知道它不存在的原因,以及我能做些什么来实现类似的影响:isJust (a ^. MyEntityMyField)
isNothing
Esqueleto
not null
isJust
isJust (a ^. MyEntityMyField)
不能自己定义吗?
isJust = not_ . isNothing