Sha256: 3c5b39087e1bd67f5871500e431b4ba32fbc56b0aa6e1d91f873e55f36c91b72
Contents?: true
Size: 370 Bytes
Versions: 116
Compression:
Stored size: 370 Bytes
Contents
module Proverb let line (want, lost) = sprintf "For want of a %s the %s was lost." want lost let ending input = sprintf "And all for the want of a %s." (List.head input) let recite input = match List.isEmpty input with | true -> [] | false -> let lines = input |> List.pairwise |> List.map line List.append lines [ending input]
Version data entries
116 entries across 116 versions & 1 rubygems