I’m learning Julia from the manual and really enjoying the process. Occasionally I try to do something weird and useless with a new learned concept. Here is an example of it:
julia> nothing == nothing
true
Nice, as expected.
julia> nothing <= nothing
ERROR: MethodError: no method matching isless(::Nothing, ::Nothing)
I understand why, but this is logically incorrect.
19 posts - 8 participants