[{"data":1,"prerenderedAt":412},["ShallowReactive",2],{"/dict/map":3,"/dict/map-surround":401},{"id":4,"title":5,"body":6,"description":368,"extension":369,"meta":370,"navigation":388,"path":397,"seo":398,"stem":399,"__hash__":400},"content/dict/map.md","NetLogo Dictionary: map",{"type":7,"value":8,"toc":357},"minimark",[9],[10,11,16,35,74,83,190,193,196,331],"div",{"className":12,"id":14,"role":15},[13],"dict_entry","map","region",[17,18,20],"h3",{"id":19},"map13",[21,22,26,27],"a",{"href":23,"role":24,"ariaLabel":25},"#map","doc-noteref","Reference to map","\nmap\n",[28,29,34],"span",{"className":30,"role":32,"ariaLabel":33},[31],"since","note","Since version","\n1.3\n",[36,37,41],"h4",{"id":38,"className":39},"map-reporter-listmap-reporter-list1",[40],"section-heading",[21,42,46,62],{"className":43,"href":45},[44],"section-anchor","#map-reporter-listmap-reporter-list1-",[28,47,50],{"className":48},[49],"prim_example",[51,52,53,54,58,59],"p",{},"map ",[55,56,57],"em",{},"reporter"," ",[55,60,61],{},"list",[28,63,65],{"className":64},[49],[51,66,67,68,58,70,73],{},"(map ",[55,69,57],{},[55,71,72],{},"list1"," …)",[51,75,76,77,79,80,82],{},"With a single ",[55,78,61],{},", the given reporter is run for each item in\nthe list, and a list of the results is collected and reported. ",[55,81,57],{}," may be an anonymous reporter or the name of a reporter.",[84,85,86],"pre",{},[87,88,89,58,95,58,98,102,103,58,108,58,112,116,117,120,102,125,58,129,58,133,116,137,139,58,142,145,146,58,150,58,154,58,157,58,161,164,165,58,168,58,171,116,174,176,102,179,58,182,58,186,116],"code",{},[28,90,94],{"className":91},[92,93],"token","command","show",[28,96,14],{"className":97},[92,57],[28,99,101],{"className":100},[92,57],"round"," [",[28,104,107],{"className":105},[92,106],"number","1.1",[28,109,111],{"className":110},[92,106],"2.2",[28,113,115],{"className":114},[92,106],"2.7","]",[118,119],"br",{},[28,121,124],{"className":122},[92,123],"variable","=>",[28,126,128],{"className":127},[92,106],"1",[28,130,132],{"className":131},[92,106],"2",[28,134,136],{"className":135},[92,106],"3",[118,138],{},[28,140,94],{"className":141},[92,93],[28,143,14],{"className":144},[92,57]," [ ",[28,147,149],{"className":148},[92,123],"i",[28,151,153],{"className":152},[92,57],"->",[28,155,149],{"className":156},[92,123],[28,158,160],{"className":159},[92,57],"*",[28,162,149],{"className":163},[92,123]," ] [",[28,166,128],{"className":167},[92,106],[28,169,132],{"className":170},[92,106],[28,172,136],{"className":173},[92,106],[118,175],{},[28,177,124],{"className":178},[92,123],[28,180,128],{"className":181},[92,106],[28,183,185],{"className":184},[92,106],"4",[28,187,189],{"className":188},[92,106],"9",[51,191,192],{},"With multiple lists, the given reporter is run for each group of\nitems from each list. So, it is run once for the first items,\nonce for the second items, and so on. All the lists must be the\nsame length.",[51,194,195],{},"Some examples make this clearer:",[84,197,198],{},[87,199,200,203,204,58,207,102,211,58,214,58,217,220,221,58,224,58,227,231,232,234,102,237,58,240,58,243,116,246,248,203,251,254,255,58,258,58,262,266,267,58,270,58,273,58,276,58,279,58,283,164,286,58,289,58,292,220,295,58,298,58,301,220,304,58,307,58,311,231,314,316,102,319,58,324,58,328,116],{},[28,201,94],{"className":202},[92,93]," (",[28,205,14],{"className":206},[92,57],[28,208,210],{"className":209},[92,57],"+",[28,212,128],{"className":213},[92,106],[28,215,132],{"className":216},[92,106],[28,218,136],{"className":219},[92,106],"] [",[28,222,132],{"className":223},[92,106],[28,225,185],{"className":226},[92,106],[28,228,230],{"className":229},[92,106],"6","])",[118,233],{},[28,235,124],{"className":236},[92,123],[28,238,136],{"className":239},[92,106],[28,241,230],{"className":242},[92,106],[28,244,189],{"className":245},[92,106],[118,247],{},[28,249,94],{"className":250},[92,93],[28,252,14],{"className":253},[92,57]," [ [",[28,256,21],{"className":257},[92,123],[28,259,261],{"className":260},[92,123],"b",[28,263,265],{"className":264},[92,123],"c","] ",[28,268,153],{"className":269},[92,57],[28,271,21],{"className":272},[92,123],[28,274,210],{"className":275},[92,57],[28,277,261],{"className":278},[92,123],[28,280,282],{"className":281},[92,57],"=",[28,284,265],{"className":285},[92,123],[28,287,128],{"className":288},[92,106],[28,290,132],{"className":291},[92,106],[28,293,136],{"className":294},[92,106],[28,296,132],{"className":297},[92,106],[28,299,185],{"className":300},[92,106],[28,302,230],{"className":303},[92,106],[28,305,136],{"className":306},[92,106],[28,308,310],{"className":309},[92,106],"5",[28,312,189],{"className":313},[92,106],[118,315],{},[28,317,124],{"className":318},[92,123],[28,320,323],{"className":321},[92,322],"constant","true",[28,325,327],{"className":326},[92,322],"false",[28,329,323],{"className":330},[92,322],[51,332,333,334,346,347,356],{},"See also ",[335,336,338],"primitive",{"displayText":337,"permalink":337},"foreach",[21,339,337],{"className":340,"dataDisplayText":337,"href":342,"rel":343,"target":345,"title":337},[341],"netlogo-wiki-link","/dictionary#foreach",[344],"noopener","_self",", ",[335,348,351],{"displayText":349,"permalink":350},"-> (anonymous procedure)","arrow",[21,352,349],{"className":353,"dataDisplayText":349,"href":354,"rel":355,"target":345,"title":349},[341],"/dictionary#arrow",[344],".",{"title":358,"searchDepth":359,"depth":360,"links":361},"",5,3,[362],{"id":19,"depth":360,"text":363,"children":364},"\nmap\n\n1.3\n",[365],{"id":38,"depth":366,"text":367},4,"map reporter list(map reporter list1 …)","Documentation for the map primitive.","md",{"source":371,"metadataOutputPath":372,"projectConfig":373,"language":380,"inheritFrom":389,"output":388,"version":374,"layout":390,"dictionaryDisplayName":391,"dictionaryHomeDirectory":392,"indexFileURI":393,"currentItemId":14,"currentItemLabel":14,"primRoot":394,"icon":395,"assetsRoot":396},"autogen/dict/map.md","content/dict/map.metadata.yaml",{"version":374,"projectRoot":356,"scanRoot":375,"outputRoot":376,"defaults":377,"engine":383,"partials":384,"dedupeIdenticalDiskWrites":388},"7.0.4","autogen","content",{"inheritFrom":378,"language":380,"output":381,"extension":369,"title":382,"version":374},[379],0,"en",false,"NetLogo User Manual","handlebars",{"directoryPaths":385,"extensions":386},[356],[387,369],"mustache",true,[379],"catalog","NetLogo Dictionary","/dictionary.html","/_index/dict.txt","dict","i-lucide-square-code","/home/runner/work/Helio/Helio/apps/docs/autogen","/dict/map",{"title":5,"description":368},"dict/map","tzZjykL1NVw0N-ITAwmPFW7a9L3zsv9W_GzL-83OMfw",[402,407],{"title":403,"path":404,"stem":405,"description":406},"NetLogo Dictionary: lput","/dict/lput","dict/lput","Documentation for the lput primitive.",{"title":408,"path":409,"stem":410,"description":411},"NetLogo Dictionary: mathconstants","/dict/mathconstants","dict/mathconstants","Documentation for the mathconstants primitive.",1777657795871]