1

I've been using isNothing, from Esqueleto, but now I would like to just test if it is not null, I've noticed that there is no isJust, I would like to know the reason it doesn't exist, and what could I do to achieve similar effect: isJust (a ^. MyEntityMyField)

FtheBuilder
  • 1,410
  • 12
  • 19

1 Answers1

3

Can't you define it yourself?

isJust = not_ . isNothing
Daniel Martin
  • 23,083
  • 6
  • 50
  • 70