Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: bleikur
  • Content: Threads
  • Order by date
  1. bleikur

    Getting [_G504] as a result...

    Hi prologers, I don't know if this is kind of a basic question, but I cannot figure it out myself... The following program: %% 1.23 (**) Extract a given number of randomly selected elements from a list. %% Signature: %% - select(Output, HowMany, Input). select(Output, HowMany,Input) :-...
  2. bleikur

    N > 1 -> Arguments are not sufficiently instantiated

    Hi Prologers! I am quite new to prolog, learning just for fun. I kind of get how it works, but I just found an issue I cannot figure out myself. The following program runs without problem (based on compress that also runs ok). compressifpossible(X, [X|Xs], Zs) :- compress([1,X], [X|Xs], Zs)...

Part and Inventory Search

Back
Top