Execute a Markov algorithm: Difference between revisions

m
→‎{{header|Haskell}}: Fixed lang tag (whoops!).
(→‎{{header|Haskell}}: Made the necessary improvements.)
m (→‎{{header|Haskell}}: Fixed lang tag (whoops!).)
Line 164:
This program expects a source file as an argument and uses the standard input and output devices for the algorithm's I/O.
 
<lang haskell>import Data.List (isPrefixOf)
import Data.Maybe (catMaybes)
import Control.Monad
845

edits