“foop”: a naming convention? It's a helper recursive function for “foo”; what does the suffix “p” mean?
问题 I've come across the following code snippet (a function definition): choose (x:xs) = choosep x xs where choosep x [] = x choosep x (_:_) = x choosep _ (x:xs) = choosep x xs in Curry programming language in a "standard library"--/usr/lib/curry-0.9.11/Success.curry from Muenster Curry Compiler. Here: choose :: [a] -> a and choosep :: a -> [a] -> a -- BTW, not a _p_redicate Is the "p" suffix for the helper recursive function choosep a known naming convention? Perhaps it comes from functional