Welcome to Dream.In.Code
Getting Help is Easy!

Join 136,582 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,934 people online right now. Registration is fast and FREE... Join Now!




lists of tuples to list

 
Reply to this topicStart new topic

lists of tuples to list, haskell

EquinoX
25 Sep, 2008 - 08:58 PM
Post #1

D.I.C Head
**

Joined: 19 Jan, 2007
Posts: 63


My Contributions


I am having difficulties on how to write a function that will take a list of tuples and convert it to a list, example:

[(1,2), (3,4)] => [1,2,3,4]

can you please tell me how to do it?

One other thing, is there any way to write a function zipWith which is non-recursive, if there is how?
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/3/08 12:37AM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month