samedi 23 mai 2020

How can you use haskell to arrange random words into sentence, Thanks for the help in advance.?

Write a Haskell program which allows you to randomly assemble words in order to tell the premise of a story. Your program should follow a sentence structure to which one of three/four strings can be inserted in order to complete the premise.
For example: The ____________ from _____________ had _____________ in order to ______________

Possible completions for a. Man, Woman, Dog b. The City, The sewers, Out of town c. Three days, Twenty hours, 1 minute d. Live, Travel the world, Escape




Aucun commentaire:

Enregistrer un commentaire