# \[?\] Create a new list?

**URL:** <https://community.wolfram.com/t/create-a-new-list/11767>\
**Category:** Questions\
**Tags:** calculus\
**Created:** [January 6, 2018, 5:28pm UTC](https://community.wolfram.com/t/create-a-new-list/11767 "2018-01-06T17:28:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ghorbani](https://avatars.discourse-cdn.com/v4/letter/g/6a8cbe/32.png) [@ghorbani](https://community.wolfram.com/u/ghorbani)\
**Post date:** [January 6, 2018, 5:28pm UTC](https://community.wolfram.com/t/create-a-new-list/11767/1 "2018-01-06T17:28:30Z")

</div>

Dear all,

I have a list (for example):

```
List={{{a, b, c},d},{{e, f, 
   g}, 
  h}, {{i, j, 
   k}, m}}

```

Is there any way that I can generate a new list as following :

```
NewList={{{a, b, c}->d},{{e, f, 
   g}-> 
  h}, {{i, j, 
   k}-> m}}

```

Thanks

---

<div class="post-metadata">

**Author:** ![neils](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/neils/32/20595_2.png) [@neils](https://community.wolfram.com/u/neils)\
**Post date:** [January 6, 2018, 5:40pm UTC](https://community.wolfram.com/t/create-a-new-list/11767/2 "2018-01-06T17:40:15Z")

</div>

list={{{a, b, c},d},{{e, f, g}, h}, {{i, j, k}, m}}  
Map[Rule[#[[1]], #[[2]]] &, list]

Note List cannot be capitalized.

---

<div class="post-metadata">

**Author:** ![sghuisman](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/sghuisman/32/27850_2.png) [@sghuisman](https://community.wolfram.com/u/sghuisman)\
**Post date:** [January 6, 2018, 6:47pm UTC](https://community.wolfram.com/t/create-a-new-list/11767/3 "2018-01-06T18:47:56Z")

</div>

just do:

```
Rule @@@ list

```

---

<div class="post-metadata">

**Author:** ![ghorbani](https://avatars.discourse-cdn.com/v4/letter/g/6a8cbe/32.png) [@ghorbani](https://community.wolfram.com/u/ghorbani)\
**Post date:** [January 6, 2018, 8:49pm UTC](https://community.wolfram.com/t/create-a-new-list/11767/4 "2018-01-06T20:49:07Z")

</div>

Dear Sander and Neil,

Thank you very for your help.

Kind Regards,

---

<div class="post-metadata">

**Author:** ![wolframcommunity](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/wolframcommunity/32/8335_2.png) [@wolframcommunity](https://community.wolfram.com/u/wolframcommunity)\
**Post date:** [January 6, 2018, 8:58pm UTC](https://community.wolfram.com/t/create-a-new-list/11767/5 "2018-01-06T20:58:15Z")

</div>

[@M.A. Ghorbani](http://community.wolfram.com/web/ghorbani) you have been with the forum for a while already and you ignoring the rules: [https://wolfr.am/READ-1ST](https://wolfr.am/READ-1ST)

The rules explain how to format your code properly. If you do not format code, it may become corrupted and useless to other members. Please **EDIT** your posts and make sure code blocks start on a new paragraph and look framed and colored like this.

```
int = Integrate[1/(x^3 - 1), x];
Map[Framed, int, Infinity]

```

 ![ScreenShot2017-04-28at9.43.33AM.png](https://global.discourse-cdn.com/wolfram/original/3X/f/3/f3367c082cbad32b79855f70628ea173f845653e.png)
