Email or username:

Password:

Forgot your password?
Devine Lu Linvega

Spend enough time doing functional programming and you start mixing up 0 to mean True. :mocking:

8 comments
s-ol

@neauoire
is this because (if cond a b) = (select cond ...)?

Devine Lu Linvega

@s_ol yep, in other words because of the K combinator(True) which picks item at the top of the list at index 0, and KI(False) which picks the next item at index 1.

WimⓂ️

@neauoire @s_ol I see, you map \xy.x and \xy.y to a list, which in your system has a starting index of 0. But picking an item at index 0 is not picking 0, isn't it?

Devine Lu Linvega

@wim_v12e @s_ol It depends if your system has the concept of numbers or not.

Devine Lu Linvega

@lritter omg you're right! 0 is the absence of error X|

Go Up