Re: [solved] Re: kombinations
- From: bart demoen <bmd@xxxxxxxxxxxxxx>
- Date: Mon, 11 Feb 2008 22:10:46 +0100
On Sun, 10 Feb 2008 20:38:08 +0100, Markus Triska wrote:
What about:
?- length(Vs, 6), maplist(between(1,6), Vs).
%@ Vs = [1, 1, 1, 1, 1, 1] ;
%@ Vs = [1, 1, 1, 1, 1, 2] ;
%@ Vs = [1, 1, 1, 1, 1, 3] ;
%@ etc.
I think that this response is not useful at all to the OP,
who is clearly still struggling with the basics of Prolog.
One learns absolutely NOTHING about Prolog by learning about
the built-ins used in Markus' solution.
So, in response to his question "What about: "
I would answer "No"
Cheers
Bart Demoen
.
- Follow-Ups:
- Re: [solved] Re: kombinations
- From: Stephan Lukits
- Re: [solved] Re: kombinations
- From: Cesar Rabak
- Re: [solved] Re: kombinations
- References:
- kombinations
- From: Stephan Lukits
- Re: kombinations
- From: Nick Wedd
- [solved] Re: kombinations
- From: Stephan Lukits
- Re: [solved] Re: kombinations
- From: Markus Triska
- kombinations
- Prev by Date: Re: Reqest for Contributors: Hindley-Milner type checker library for Prolog
- Next by Date: Re: [solved] Re: kombinations
- Previous by thread: Re: [solved] Re: kombinations
- Next by thread: Re: [solved] Re: kombinations
- Index(es):
Relevant Pages
|
|