Smarandache prime-digital sequence: Difference between revisions

m
Line 656:
</pre>
=={{header|Haskell}}==
Using the optimized approach of generated numbers from prime digits and testing for primality.
<lang haskell>{-# LANGUAGE NumericUnderscores #-}
import Control.Monad (guard)
Anonymous user