Visite Webhosting Latino, el site sobre alojamiento web.
Question on recursion using prolog - Mombu the Programming Forum
Mombu the Programming Forum sponsored links

Go Back   Mombu the Programming Forum > Programming > Question on recursion using prolog
User Name
REGISTER NOW! Mark Forums Read

sponsored links

1 28th February 02:27
External User
Posts: 1
Default Question on recursion using prolog


I am trying to understand conditional recursion using prolog.

I have a list say [a, b, c, d, e, f].
I have another list [a, a, d].

How do I find the count of each element in the 2nd list.
That is I need a list of the form [[a,2],[d,1]]
  Reply With Quote

  sponsored links


Thread Tools
Display Modes

Copyright 2006 - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -