[Haskell-cafe] split string into n parts

jim burton jim at sdf-eu.org
Mon Oct 23 16:15:36 EDT 2006




Paul Brown-4 wrote:
> 
>> Cool idea!  Can you post a link for the puzzles?
> 
Thankyou! It's http://www.rubyquiz.com - They are mostly well suited to
haskell, lot of mazes etc. I've done 5 or 6 with varying degrees of success
but have learned a lot. This thing about strings in fifths is from #1, the
solitaire cipher.

 
> As for this one, don't you want the first multiple of five larger than
> the length of the string?  You should be able to make things simpler
> if you auto-pad the string from the get-go (forgive any syntax errors,
> as I'm just composing in a browser here...):
> 
> [snip]
> 
Good plan! I will play with that.
-- 
View this message in context: http://www.nabble.com/split-string-into-n-parts-tf2496941.html#a6961186
Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com.



More information about the Haskell-Cafe mailing list