Skip to content

Instantly share code, notes, and snippets.

@dionisos2
Last active October 15, 2018 14:33
Show Gist options
  • Save dionisos2/7d52dfc58ef9d3eba365dd53d9051848 to your computer and use it in GitHub Desktop.
Save dionisos2/7d52dfc58ef9d3eba365dd53d9051848 to your computer and use it in GitHub Desktop.
def P(X):
"""
X is P, if it auto-satisfate itself
"""
return X(X)
def V(X):
"""
X is V, if X is a property
"""
return callable(X)
print(V(V)) # True
print(P(V)) # True
print(P(P)) # Infinite loop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment