Question: Write a function il2rl of type int list -> real list that takes a list of integers and returns a list of the same numbers
Write a function il2rl of type int list -> real list that takes a list of integers and returns a list of the same numbers converted to type real. For example, if you evaluate il2rl [1, 2, 3] you should get [1.0, 2.0, 3.0].
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
