[text] Me Surely the code cant he that hard to refactor The code 1 primes min max p pBase 2 pRec p AP sqrtMax ceiling sqrt fromIntegral max Float in div 1..sqrtMax rem x L div 1 div 1 x x isP pMaybe fa a min..max isP True p pMaybell p max 2 pBase pRec