Execute a Markov algorithm: Difference between revisions
m
→{{header|Haskell}}: Fixed lang tag (whoops!).
Underscore (talk | contribs) (→{{header|Haskell}}: Made the necessary improvements.) |
Underscore (talk | contribs) 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
|