会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
ManateeFan
I would love to change the world, but they did not give me the source code.
博客园
首页
新随笔
联系
订阅
管理
2019年12月14日
Haskell-chp01
摘要: -- 函数名首字母必须小写,可以包含 '来表示该函数严格求值版本(与惰性求值相对) doubleMe x = x + x doubleUs x y = doubleMe x + doubleMe y doubleUs' x y = x * 2 + y * 2 -- 给小于等于100的数乘以2 dou
阅读全文
posted @ 2019-12-14 23:45 ManateeFan
阅读(130)
评论(0)
推荐(1)
编辑
阉割的List
摘要: 实在忍不住,模仿STL写了个阉割版的List,还没加迭代器,等搞完STL源码再说吧。
阅读全文
posted @ 2019-12-14 20:59 ManateeFan
阅读(123)
评论(1)
推荐(0)
编辑
公告