binary to decimal converter with list of booleans

后端 未结 0 1821
说谎
说谎 2020-12-06 17:07

I\'m working on two converters: decimal to binary and binary to decimal. I already have one:

toBool :: Int -> Bool
toBool a = if a == 1 then True
                  


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题