Heat oil in a pan, drop in urd dal, allow to fry, add mustard and cumin seeds, allow to splutter, add red chill followed by onion and garlic. Sauté till tender, add turmeric and chilli powder, add carrot and combine well. Allow to cook in low flame, add salt and coconut. Mix well. Adjust salt. Add scallion and again mix well. Serve with rice.