Comment on Building a full-text search engine in 150 lines of Python code (2021)parentComments−mrkeen1ypure (n, guard (factor /= n) $> factor)Returns a tuple: Left side is n, right side is (Just factor) if factor is not n, or Nothing if it is.
Comments
Returns a tuple: Left side is n, right side is (Just factor) if factor is not n, or Nothing if it is.