You are viewing a single comment's thread. Return to all comments →
A difficult and intricate solution with only one line and no conditionals (nor variables).
print . ((uncurry (+) .) . ((. ((*) . fromEnum)) . flip second) <*> (uncurry ((. (>) 3) . (&&) . (<) 37))) . ((,) <*> (flip mod 5 . negate))
Seems like cookies are disabled on this browser, please enable them to open this website
Grading Students
You are viewing a single comment's thread. Return to all comments →
A difficult and intricate solution with only one line and no conditionals (nor variables).