how to make a list of N 1s
- From: "erhan" <eerisken@xxxxxxxxxx>
- Date: 26 Apr 2006 03:27:06 -0700
Hi,
how can I construct a list L of all 1s with a length N.
I mean,
when I call makelist(3, L), I want it to produce L=[1,1,1].
thanks in advance...
.
- Follow-Ups:
- Re: how to make a list of N 1s
- From: ralphbecket
- Re: how to make a list of N 1s
- From: michael . goodrich
- Re: how to make a list of N 1s
- From: erhan
- Re: how to make a list of N 1s
- Prev by Date: Re: [REPORT] : GNU prolog bug
- Next by Date: Re: argument order in last/2
- Previous by thread: [REPORT] : GNU prolog bug
- Next by thread: Re: how to make a list of N 1s
- Index(es):