getting specific elements from a list in Prolog

stackoverflow.com - 2013-03-21 02:13:46 - Similar - Report/Block

I have been reading this tutorial about Prolog list, and how to get specific element from a list, and I came across this example: ?- [_,X,_,Y|_] = [[], dead(z), [2, [b, c]], [], Z]. X = dead(z) Y = [] Z = _9593 what I don't understand is, where do they get the value _9593 for the variable Z?...


Fill out the form you see below. Registration is free, fast and simple.
If you are already registered, sign in page login.

Web Site :
Required Field
First Name :
Required Field
Last Name :
Required Field
Email :
Required Field
Sex :
Required Field

evolveStar.com is free for ever !

evolveStar.com provides a search engine that allows you to gather information to write their own blog.

evolveStar.com enhances the sources displaying the logo of the site.

If you want to remove your site or you believe a site listed infringes copyright, please report it to: info@evolvestar.com

Specifies the subject copyright violation and the url of the page

evolveStar.com respecting the law DMCA (Digital Millennium Copyright Act) will immediately remove whatever its merits.

Next will be effectual and relevant checks.

Who We Are Partner Advertising Contacts Privacy terms Help & FAQ

© Copyright 2010-2017 Fabrizio Fichera. All rights reserved.