Re: Meaning of ':' and '{}'
- From: Bart Demoen <bmd@xxxxxxxxxxxxxxxxx>
- Date: Thu, 18 May 2006 12:02:19 +0200
Advait wrote:
Hi,
Please, can anyone tell me what is meaning of predicates ':' and '{}'
?
It depends on the context. : is used for module qualification of predicates.
Like
lists:member(X,L)
The curly brackets are used in Definite Clauses Grammars: find the section on DCGs in
the manual or google for it and you will find out easily. There are uses of {} as a
functor in datastructures also.
Cheers
Bart Demoen
.
- Follow-Ups:
- Re: Meaning of ':' and '{}'
- From: Advait
- Re: Meaning of ':' and '{}'
- References:
- Meaning of ':' and '{}'
- From: Advait
- Meaning of ':' and '{}'
- Prev by Date: Re: Bug detected in buggy GNU-Prolog
- Next by Date: Re: String is not string in SWI-Prolog ?
- Previous by thread: Meaning of ':' and '{}'
- Next by thread: Re: Meaning of ':' and '{}'
- Index(es):
Relevant Pages
|
Loading