I have some lists which have many brackets. I'd like to remove arrows from the lists.
For example, I need to change the list
{{x->a},{x->b},{x->c},{x->d}}
into
{a,b,c,d}
How should I do it?
I have some lists which have many brackets. I'd like to remove arrows from the lists.
For example, I need to change the list
{{x->a},{x->b},{x->c},{x->d}}
into
{a,b,c,d}
How should I do it?
x/.{{x->a},{x->b},{x->c},{x->d}},and I will vote to close as simple question. – yode Apr 07 '17 at 12:08lst[[All, 1, 2]]– user1066 Apr 07 '17 at 12:10Flatten@Values@{{x -> a}, {x -> b}, {x -> c}, {x -> d}}– mrz Apr 07 '17 at 12:31