Re: [Haskell-cafe] round function

2006-02-12 Thread Sebastian Sylvan
On 2/12/06, Chatzianastassiou Achilleas [EMAIL PROTECTED] wrote: Hi all, I am trying to implement a function that finds the significant figure of a number to a specified point i.e. 2.5 3 = 2.556. I have implemented something like: sig :: (RealFrac a, Integral b) = a - Int - a sig x y =

Re: [Haskell-cafe] round function

2006-02-12 Thread Chatzianastassiou Achilleas
: [Haskell-cafe] round function Date: Sun, 12 Feb 2006 22:23:17 +0100 On 2/12/06, Chatzianastassiou Achilleas [EMAIL PROTECTED] wrote: Hi all, I am trying to implement a function that finds the significant figure of a number to a specified point i.e. 2.5 3 = 2.556. I have implemented

Re: [Haskell-cafe] round function

2006-02-12 Thread J. Garrett Morris
] To: Chatzianastassiou Achilleas [EMAIL PROTECTED] CC: haskell-cafe@haskell.org Subject: Re: [Haskell-cafe] round function Date: Sun, 12 Feb 2006 22:23:17 +0100 On 2/12/06, Chatzianastassiou Achilleas [EMAIL PROTECTED] wrote: Hi all, I am trying to implement a function that finds