Merge branch master

Conflicts:
	main.hs
This commit is contained in:
Rnhmjoj 2015-01-08 00:30:47 +01:00
commit 6658a2bc39
3 changed files with 8 additions and 9 deletions

View File

@ -7,5 +7,4 @@ split _ [] = [[]]
split delim (c:cs) split delim (c:cs)
| c == delim = [] : rest | c == delim = [] : rest
| otherwise = (c : head rest) : tail rest | otherwise = (c : head rest) : tail rest
where where rest = split delim cs
rest = split delim cs

View File

@ -15,7 +15,7 @@ Example usage:
$ alea $ alea
doso epurai usci selve dirupo bs doso epurai usci selve dirupo bs
$ alea --phrases 3 --phraselength 8 $ alea -p 3 -l 8
sturai sapone ripeto leghi osasse fori terme oserai sturai sapone ripeto leghi osasse fori terme oserai
carta getto osiamo banale figura smilzi celibe gigli carta getto osiamo banale figura smilzi celibe gigli
porvi rs traini dotati aureo solito malato gelate porvi rs traini dotati aureo solito malato gelate