It's really irritating when people expect their homework to be done on line.
It undermines the effectiveness of the mailing list by trying to take
advantage of other people's good will.
On Thu, 7 Oct 2004 01:18, ldou wrote:
> I have a string,e.g. "1245670398", now I want to select two
> element f
On 2004-10-06 at 10:37CDT "ldou" wrote:
> In the random selection, it perhaps select the same element
> of the string, how can I select two different elements?
Consider the \\ operator.
--
Jón Fairbairn [EMAIL PROTECTED]
_
In the random selection, it perhaps select the same element
of the string, how can I select two different elements?
___
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell
On Wednesday 06 October 2004 17:18, ldou wrote:
> I have a string,e.g. "1245670398", now I want to select two
> element from the string randomly, and the two element must
> be different, how can I do?
Have a look at the Random module from the standard libraries.
V.
___
I have a string,e.g. "1245670398", now I want to select two
element from the string randomly, and the two element must
be different, how can I do?
___
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell
Simon Marlow wrote:
If you don't want to build hood, then remove it from the tree. Did you
perhaps check out *everything*? The right way is to check out fpconfig
Ah, that was my error. I checked out everything by "cvs co fptools"
instead of only doing "cvs co fpconfig". (When I read "fpconfig",
On 06 October 2004 10:10, Christian Maeder wrote:
> after checking out fptools from cvs. The simple sequence
>
> $ autoreconf
> $ ./configure
> $ make
>
> failed in the directory hood, because the target boot is unknown
> there. Could/Should this be fixed?
>
> I know how to use mk/build.mk and t
Hi,
after checking out fptools from cvs. The simple sequence
$ autoreconf
$ ./configure
$ make
failed in the directory hood, because the target boot is unknown there.
Could/Should this be fixed?
I know how to use mk/build.mk and the ProjectsToBuild variable. I don't
need hood, but make still sho
ldou,
LD> How to get different two random numbers, and use the two
LD> numbers in program,e.g
LD> x = b + c
LD> where
LD> b && c are different random numbers between 1..n
Have a look at the Random module from the standard libraries.
> module Test where
> import Random
>
> test :: Int