网站首页
编程语言
数据库
系统相关
其他分享
编程问答
2.80
2024-11-17
sicp每日一题[2.80]
Exercise2.80Defineagenericpredicate=zero?thattestsifitsargumentiszero,andinstallitinthegenericarithmeticpackage.Thisoperationshouldworkforordinarynumbers,rationalnumbers,andcomplexnumbers.这道题更简单,直接与0相比较就行,以下