[Haskell-cafe] Binary code

escafia escafia at gmail.com
Sat Nov 25 14:39:00 EST 2006


i've one fuction receiving an int . The objective is return the respective
binary code of that int.

For example, if i receive 28 the fuction will return 011100.

My question is that there is any fuction in libraries that do this?
If not, anyone has any suggestion?

Thank you.
View this message in context: http://www.nabble.com/Binary-code-tf2704645.html#a7541561
Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com.

More information about the Haskell-Cafe mailing list