Lists and Recursion
- To: mathgroup at smc.vnet.net
- Subject: [mg9444] Lists and Recursion
- From: Joana Nunes de Almeida <JNA at mail.telepac.pt>
- Date: Wed, 5 Nov 1997 01:57:01 -0500
- Sender: owner-wri-mathgroup at wolfram.com
Hello, I'm doing a project for my Programming course, but I'm having some trouble whith one of the exercises. I must define a function where when we put in a list the function gives back the different parts of the list. exp: parts[{1,2}] gives: [{1,2},{1},{2},{}] NB: I must define the function recursivly