I have a function that returns [[]] , and I want to test the result as a unit test. But I found that the expression [[]] == [[]] returns false . Here is a simple test code:
# [[]] == [[]];; - : bool = false
Can someone explain to me why this expression evaluates to false?
Thanks.
list expression boolean ocaml
Atikae
source share