Peter Verswyvelen wrote:
Maybe this is a stupid question, but I don't find something similar in Haskell.

I find mod and rem, which work on integers. But I'm looking for a function similar to C's fmod.

Of course I can write it myself, but I guess it must already exist under a different name?

There's one in Data.Fixed called mod'

Yes, that is an odd place for it :)

Jules
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to