The purpose of this repository is to provide a way for people to generate random "placeholder text" -- with a Markov Chain. https://www.craigoates.net/Software/project/12
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

9 lines
230 B

module internal SystemServices
open System
let PickRandomNumber min max = Random().Next(min, max)
let PickRandomItem seq =
let index = PickRandomNumber 0 (Seq.length seq)
seq |> Seq.item index