Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Rosetta code: Split an array into chunks

by Arunbear (Prior)
on Feb 11, 2011 at 19:52 UTC ( [id://887670]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #lang scheme
    (require scheme/string)
    ...
            (chunky y sz (graft str x))))))
    
    (display (chunky '("a" "bb" "c" "d" "e" "f" "g" "h") 3))
    
  2. or download this
    +% mzscheme chunky.ss
    a bb c
    d e f
    g h
    +%
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://887670]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (3)
As of 2024-04-25 23:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found