[Haskell-cafe] Problems with square root...

Mark Goldman bitshifter at gmail.com
Wed Dec 21 13:55:54 EST 2005


nitpicky detail:

() <- Parenthesis
{} <- Braces
[] <- Brackets

Sorry to be pedantic, but using the wrong terminology confuses me and
I'm sure others as well.

On 12/21/05, Daniel Carrera <daniel.carrera at zmsl.com> wrote:
> Daniel Carrera wrote:
> > Hey,
> >
> > The sqrt function is not doing what I want. This is what I want:
> >
> > round sqrt(2)
>
> Sigh... never fails. Spend an hour trying to solve a problem, and a
> minute after you write to the list you find the solution. I need
> brackets around sqrt. I'm surprised though. I don't understand why it
> dosn't work without brackets.
>
> Daniel.
> --
>       /\/`) http://oooauthors.org
>      /\/_/  http://opendocumentfellowship.org
>     /\/_/
>     \/_/    I am not over-weight, I am under-tall.
>     /
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>


--
"50% of marriages today end in divorce, the other 50% end in death. 
Which would you rather have?"


More information about the Haskell-Cafe mailing list