For returning the random numbers would it be ok to use drop if we could figure out how many randome numbers were required for function g and h?
This is very error prone. If you change g or h to use fewer or more random numbers, you may forget to modify the drop in its caller(s). • For the function “generations” it takes in the initial population, do we have to input the initial population when writing the function or is the population only entered when testing the function because the initial population will always be the same? The initial population consists of random programs. Take a look at GP_Main.hs. You will see that create_population is called to create the initial population of random programs. • If a function returns a list of remaining infinite numbers, but it calls 2 functions which require an infinite list, are the remaining numbers the initial list minus the list of all the random numbers used or the longest list used? Or does it not really matter at all? If function f calls g and h both of which require random numbers, then you could say get the remaining list of random numbers from g and pass it to h which then
Related Questions
- Ive been using the IsNull function but it seems to be ignoring the second parameter (just returning True or False instead). Is this function supported and/or is there an alternative?
- For returning the random numbers would it be ok to use drop if we could figure out how many randome numbers were required for function g and h?
- Is it ok for me to send spam (ie, to send unsolicited messages to large numbers of recipients)?