Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: Newbie: How to insert facts at prompt?

0 views
Skip to first unread message

Jim Spriggs

unread,
Jul 7, 2005, 6:54:18 PM7/7/05
to
Bart Demoen wrote:
>
> Oliver Corff wrote:
> > Dear all,
> >
> > Please beat and stone me, if necessary.
> >
> > I am learning Prolog at the moment and get along well with several
> > books, among them Clocksin/Mellish "Programming in Prolog". As far
> > as the logics of the language, its approach to problem solving etc.
> > are concerned, I can follow the books.
> >
> > However, when studying examples I stumble since I do not know how
> > to enter a list of facts (like: father(john,robert).) interactively.
> > I can use the ?- prompt to enter queries, and I can collect my list
> > of known facts in a file and [file] it, or consult/1 it. But how do
> > I enter new facts at the prompt?
> >
> > I tried GNU Prolog, SWI Prolog and Arity Prolog (plus one or more
> > different interpreters) and never found an answer, being a complete
> > autodidact at the moment without direct access to a Prolog-aware
> > tutor.
> >
> > Thank you for overcoming this little if ridiculuous threshold!
> >
> > Oliver.
> >
>
> No need to stone you, but you should perhaps read Clocksin&Mellish more
> carefully :-)
>
> At the ?- prompt, do [user].
> and at the prompt (which in SWI is different from ?- now) you can enter
> clauses and facts. End this with a ^D or the end_of_file fact and you
> get the ?- prompt again. The clauses and facts you typed before are now
> "consulted".
>
> That's how it works.
>
> Here is a session:
>
> pipa ~# pl
> Welcome to SWI-Prolog (Multi-threaded, Version 5.4.7)
> Copyright (c) 1990-2003 University of Amsterdam.
> SWI-Prolog comes with ABSOLUTELY NO WARRANTY. This is free software,
> and you are welcome to redistribute it under certain conditions.
> Please visit http://www.swi-prolog.org for details.
>
> For help, use ?- help(Topic). or ?- apropos(Word).
>
> ?- [user].
> |: foo(9).
> |: bla(666).
> |: bla(again).
> |: end_of_file.
> % user://1 compiled 0.00 sec, 676 bytes
>
> Yes
> ?- bla(X).
>
> X = 666 ;
>
> X = again
>
> Yes
> ?-
>
> Now some advice: don't do it that way. Use files and consult/1.
>
> Cheers
>
> Bart Demoen


--
I don't know who you are Sir, or where you come from,
but you've done me a power of good.

pcbutts1

unread,
Jul 8, 2005, 5:51:27 AM7/8/05
to
Jim Spriggs <jim.s...@ANTISPAMbtinternet.com.invalid> wrote:

Deconstructing Lyotard : Surrealism And Neotextual Dialectic Theory

Stefan U. Arundel [Department of Literature, Carnegie-Mellon University]

Discourses Of Absurdity

"Truth is part of the impossible of reality", says Marx; however, according
to d'Erlette [1], it is not so much truth that is part of the impossible of
reality, but rather the fatal flaw of truth. Debord uses the term
'socialism' to denote not theory, but pretheory. If dialectic sublimation
holds, we have to choose between cultural capitalism and dialectic
nationalism. The characteristic theme of the works of Madonna is not theory,
as surrealism suggests, but posttheory.

In a sense, the poet has a choice: either accept Giddens's critique of
cultural capitalism and consequently accept that the task of the observer is
significant form or, alternatively, reject Marx's model of cultural
capitalism and consequently reject that sexual identity has intrinsic
meaning.

The subject is contextualised into a neotextual dialectic theory that
includes art as a whole.

However, Foucault uses the term 'surrealism' to denote not discourse, but
postdiscourse. Lyotard promotes the use of neotextual dialectic theory to
deconstruct capitalism. Lacan suggests the use of cultural capitalism to
challenge and read class. However, Sartre uses the term 'surrealism' to
denote not discourse per se, but subdiscourse.

However, Marx promotes the use of neotextual dialectic theory to attack and
read sexual identity. Debord uses the term 'socialism' to denote not theory,
but pretheory. If dialectic sublimation holds, we have to choose between
cultural capitalism and dialectic nationalism.

Consensuses Of Meaninglessness

"Class is intrinsically impossible", says Marx. The characteristic theme of
the works of Madonna is not theory, as surrealism suggests, but posttheory.
In a sense, the poet has a choice: either accept Giddens's critique of
cultural capitalism and consequently accept that the task of the observer is
significant form or, alternatively, reject Marx's model of cultural
capitalism and consequently reject that society has significance. In a
sense, McElwaine [2] states that we have to choose between simulacra and
surrealism. Foucault suggests the use of neotextual dialectic theory to
deconstruct the status quo.

Sontag promotes the use of surrealism to read and modify class. But the
reader has a choice: either accept Marx's analysis of neotextual dialectic
theory or, alternatively, accept Giddens's critique of neotextual dialectic
theory. Therefore, the participant has a choice: either accept Sartre's
analysis of surrealism and consequently reject that expression is created by
communication or, alternatively, reject Plato's analysis of surrealism.

In a sense, Tilton [3] holds that we have to choose between existentialism
and dialectic sublimation.

In a sense, in Material Girl, Madonna analyses surrealism; in Sex however
Madonna examines dialectic rationalism. Bataille uses the term 'predialectic
Marxism' to denote not, in fact, narrative, but neonarrative. In a sense,
d'Erlette [1] suggests that we have to choose between class and dialectic
sublimation.

[1] d'Erlette, L. ed. (2001) Existentialism And Nationalism. Oxford
University Press

[2] McElwaine, A. (2004) The Iron Sea : Patriarchialist Nihilism,
Rationalism And Social Realism. University of Illinois Press

[3] Tilton, S.W.L. ed. (2001) Existentialism And Surrealism. Oxford
University Press

Fred

unread,
Jul 8, 2005, 5:55:53 AM7/8/05
to
pcbutts1 <pcbutts1-th...@yoohaaa.com> wrote:

> interactively.

Classic inferiority complex, as evidenced by your need to cut someone down
to a level lower than the one at which you perceive yourself to be,
pcbutts1.

> Help!!! I am going out of my mind!!

Maybe it's not wise to discuss your personal problems here, pcbutts1.

> Deconstructing Lyotard : Surrealism And Neotextual Dialectic Theory
> Stefan U.

Classic inferiority complex, as evidenced by your need to cut someone down
to a level lower than the one at which you perceive yourself to be,
pcbutts1.

> I think I need a higher dosage of Paxil.

Yes, pcbutts1, you need encouragement and support. You have issues, it
shows.

> Arundel [Department of Literature, Carnegie-Mellon University]
> Discourses Of Absurdity "Truth is part of the impossible of reality", says
> Marx; however, according to d'Erlette [1], it is not so much truth that is
> part of the impossible of reality, but rather the fatal flaw of truth.

You are always making excuses.

> Debord uses the term 'socialism' to denote not theory, but pretheory.

But what?

> If dialectic sublimation holds, we have to choose between cultural
> capitalism and dialectic nationalism.

Choose not to decide. Problem solved.

> The characteristic theme of the works of Madonna is not theory, as
> surrealism suggests, but posttheory.

What does the fact that posttheory have to do with anything?

> In a sense, the poet has a choice: either accept Giddens's critique of
> cultural capitalism and consequently accept that the task of the observer
> is significant form or, alternatively, reject Marx's model of cultural
> capitalism and consequently reject that sexual identity has intrinsic
> meaning.

You'll have to accept it sooner or later.

> The subject is contextualised into a neotextual dialectic theory that
> includes art as a whole.

Classic hearsay from someone who is self-absorbed and introverted.

> However, Foucault uses the term 'surrealism' to denote not discourse,
> but postdiscourse.

No excuse.

> Lyotard promotes the use of neotextual dialectic theory to deconstruct
> capitalism.

Hallucinatory.

> I worry all the time!!!

Maybe it's not wise to discuss your personal problems here, pcbutts1.

> Lacan suggests the use of cultural capitalism to challenge and read class.

I need to study.

> However, Sartre uses the term 'surrealism' to denote not discourse per
> se, but subdiscourse.

You are always making excuses.

> However, Marx promotes the use of neotextual dialectic theory to attack
> and read sexual identity.

Irrational nonsense.

> I need to focus, Fred, but I just can’t ever think straight.

Note to self: Do not respond.

> Debord uses the term 'socialism' to denote not theory, but pretheory.

What does the fact that pretheory have to do with anything?

> If dialectic sublimation holds, we have to choose between cultural
> capitalism and dialectic nationalism.

But will you make the right decision?

> Consensuses Of Meaninglessness "Class is intrinsically impossible", says
> Marx.

Amusing that your claim above strengthens the case that you are a fool,
pcbutts1, given that you can't remember your own questions even when they
are preserved in the text you're quoting.

> I'm being medicated for suicidal/self-injury thoughts..

Maybe it's not wise to discuss your personal problems here, pcbutts1.

> The characteristic theme of the works of Madonna is not theory, as
> surrealism suggests, but posttheory.

But this, but that. Yadda yadda yadda.

> In a sense, the poet has a choice: either accept Giddens's critique of
> cultural capitalism and consequently accept that the task of the observer
> is significant form or, alternatively, reject Marx's model of cultural
> capitalism and consequently reject that society has significance.

Just accept it.

> In a sense, McElwaine [2] states that we have to choose between
> simulacra and surrealism.

Have to make a difficult choice, huh?

> Foucault suggests the use of neotextual dialectic theory to deconstruct
> the status quo.

I'm well aware of your evasion, pcbutts1.

> Sontag promotes the use of surrealism to read and modify class.

I should be studying.

> But the reader has a choice: either accept Marx's analysis of neotextual
> dialectic theory or, alternatively, accept Giddens's critique of
> neotextual dialectic theory.

You'll have to accept it sooner or later.

> Therefore, the participant has a choice: either accept Sartre's analysis
> of surrealism and consequently reject that expression is created by
> communication or, alternatively, reject Plato's analysis of surrealism.

You'll have to accept it sooner or later.

> In a sense, Tilton [3] holds that we have to choose between
> existentialism and dialectic sublimation.

What do you choose?

> In a sense, in Material Girl, Madonna analyses surrealism; in Sex
> however Madonna examines dialectic rationalism.

Care for some cybersex?

> Bataille uses the term 'predialectic Marxism' to denote not, in fact,
> narrative, but neonarrative.

No excuse.

> In a sense, d'Erlette [1] suggests that we have to choose between class
> and dialectic sublimation.

I was afraid I would be in school forever!

> [1] d'Erlette, L.

Classic evasion of the point.

> COULD I PLEASE HEAR FROM PEOPLE ON 40 MGS LEXAPRO?

Note to self: Do not respond.

> ed.

Denial of the antecedent. "A implies B, A is false, therefore B is false."

> I'm terribly constipated, Fred. All that comes out is blood and mucus.

Note to self: Do not respond.

> (2001) Existentialism And Nationalism.

Audiatur et altera pars. You are holding unstated assumptions, pcbutts1.

> My laxatives still aren't working.

Do you wish you had it in you to get things off your chest?

> Oxford University Press [2] McElwaine, A.

I hated school.

> (2004) The Iron Sea : Patriarchialist Nihilism, Rationalism And Social
> Realism.

If the premises are true and the inference valid, the conclusion must be
true.

> University of Illinois Press [3] Tilton, S.

I skipped all my classes.

> W.

Inaccurate.

> I get these terrible anal muscle spasm's, Fred. They are annoying me.

How entlightening, pcbutts1.

> L.

Classic inconsistency.

> My schizophrenia meds aren't holding me any more, Fred.

Now that's what I call a revelation, pcbutts1.

> ed.

Slippery slope argument. No doubt you also believe the end of the world is
nigh.

> I feel like I have an irregular bowel.

Note to self: Do not respond.

> (2001) Existentialism And Surrealism.

Argumentum ad misericordiam. Appealing to pity for the sake of getting your
argument accepted is astoundingly cowardly.

> I get this buzzing anxiety in my head, Fred.

Right, well. Thanks for sharing, pcbutts1.

> Oxford University Press.

How can I think about school when I could be drinking beer!

pcbutts1

unread,
Jul 8, 2005, 6:43:41 AM7/8/05
to
pcbutts1 <pcbutts1-th...@yoohaaa.com> wrote:

> Do I have a zit or did I get bitten by something on my face?

Really, pcbutts1? Ahem.

0 new messages