# ':/

**URL:** <https://forum.kx.com/t/topic/8000>\
**Category:** Community Support\
**Tags:** kdb-and-q\
**Created:** [November 17, 2012, 12:28pm UTC](https://forum.kx.com/t/topic/8000 "2012-11-17T12:28:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![effbiae](https://avatars.discourse-cdn.com/v4/letter/e/ecae2f/32.png) [@effbiae](https://forum.kx.com/u/effbiae)\
**Post date:** [November 17, 2012, 12:28pm UTC](https://forum.kx.com/t/topic/8000/1 "2012-11-17T12:28:00Z")

</div>

I was just looking at mmin:q)mmink){(x-1)&‘:/y}q)2 mmin til 50 0 1 2 3q)1 &’:/ til 50 0 1 2 3q)1 ,‘:/ til 501 02 13 24 3q)2 ,’:/ til 50 0N1 0 0 0N2 1 1 03 2 2 14 3 3 2q)3 ,‘:/ til 50 0N1 0 0 0N 0 0N2 1 1 0 1 0 0 0N3 2 2 1 2 1 1 04 3 3 2 3 2 2 1is x f’:/ y special? i can’t work out.what ,':/ does.ta, jack.

---

<div class="post-metadata">

**Author:** ![Attila](https://avatars.discourse-cdn.com/v4/letter/a/b9bd4f/32.png) [@Attila](https://forum.kx.com/u/Attila)\
**Post date:** [November 17, 2012, 1:25pm UTC](https://forum.kx.com/t/topic/8000/2 "2012-11-17T13:25:00Z")

</div>

To: personal-kdbplus@googlegroups.comX-Mailer: Apple Mail (2.1499)you should read this as(x-1)(&‘:)/ya form of iterate (/)x-1 is the number of iterations\> 3 ,’:/ til 5is 3(,‘:)/til 5repeat 3 times join-each-pair on til 5Cheers, AttilaOn 17 Nov 2012, at 12:28, Jack Andrews wrote:\> I was just looking at mmin:\> \> q)mmin\> k){(x-1)&’:/y}\> q)2 mmin til 5\> 0 0 1 2 3\> q)1 &‘:/ til 5\> 0 0 1 2 3\> q)1 ,’:/ til 5\> 0\> 1 0\> 2 1\> 3 2\> 4 3\> q)2 ,‘:/ til 5\> 0 0N\> 1 0 0 0N\> 2 1 1 0\> 3 2 2 1\> 4 3 3 2\> q)3 ,’:/ til 5\> 0 0N\> 1 0 0 0N 0 0N\> 2 1 1 0 1 0 0 0N\> 3 2 2 1 2 1 1 0\> 4 3 3 2 3 2 2 1\> \> is x f’:/ y special? i can’t work out.what ,':/ does.\> \> ta, jack.\> \> – \>

Submitted via Google Groups
