JTeeuwissen / json-logic-haskell

JsonLogic library for Haskell
MIT License
0 stars 0 forks source link

Be able to work with NaN #107

Open GerardvSchie opened 2 years ago

GerardvSchie commented 2 years ago

dependent: #102 We would want to remove the Either in order to use the Maybe monad for the operators

NaN is weird but does work {} >= 0 true

{} > 0 false

{} >= -5 true

{} == 0 false

{} === 0 false.

Need to adapt the functions

JTeeuwissen commented 2 years ago

@GerardvSchie

We would want to remove the Either in order to use the Maybe monad for the operators

what do you mean by this? I'm confused as to what this issue is about.