So I'm new to learning Haskell (started on Saturday) and I read a few chapters from online books and I wrote a list comprehension to find the diameter of a circle given its circumference.
ghci> let circle = [(a) | a <- [1..10], 9 / pi == a] but it returns
 I was told this is because
[1..10] only counts whole integers and not all the real numbers between 1 and 10.
ghci> let circle = [(a) | a <- [1..10], round (pi * a) == 9] which returns
[3.0] but I was wondering if there was a way to get a more precise answer.
Thanks in advance.