An introduction to dependent types, demonstrating the most beautiful aspects, one step at a time. A program's type describes its behavior. Dependent types are a first-class part of a language, and are much more powerful than other kinds of types; using just one language for types and programs allows program descriptions to be as powerful as the programs they describe. The Little Typer explains dependent types, beginning with a very small language that looks very much like Scheme and extending it to cover both programming with dependent types and using dependent types for mathematical reasoning. Readers should be familiar with the basics of a Lisp-like programming language, as presented in the first four chapters of The Little Schemer. The first five chapters of The Little Typer provide the needed tools to understand dependent types; the remaining chapters use these tools to build a bridge between mathematics and programming. Readers will learn that tools they know from programming-pairs, lists, functions, and recursions-can also capture patterns of reasoning. The Little Typer does not attempt to teach either practical programming skills or a fully rigorous approach to type. Instead, it demonstrates the most beautiful aspects as simply as possible, one step at a time.
Daniel P. Friedman is Professor of Computer Science in the School of Informatics, Computing, and Engineering at Indiana University and is the author of many books published by the MIT Press, including The Little Schemer and The Seasoned Schemer (with Matthias Felleisen); The Little Prover (with Carl Eastlund); and The Reasoned Schemer (with William E. Byrd, Oleg Kiselyov, and J...
(展开全部)
冯仑,企业家中的思想家、商界老水手、万通集团创始人。先后就读于西北大学、中央党校、社科院,法学博士。对民营经济、房地产、公司治理有着重要的研究。以杰出的经营实践...
边芹,旅法女作家,作品《一面沿途漫步的镜子》、《带我去巴黎》。主要译著包括《直布罗陀水手》和《广岛之恋》等。在《文汇报》副刊《笔会》撰写专栏“左岸碎语”。《新民...
交互界面系统设计 本书特色 新媒体交互艺术创作充满挑战与创新,对于初学者来讲开始会觉得天马行空没有边际,常有无从下手之感。周晓蕊编著的《交互界面系统设计》介绍了...
●从哈拉帕文明到莫迪当政,印度5000年历史的速写!●读懂与中国巨龙共舞的南亚巨象!把握印太格局的关键一环!●呈现印度历史的不同层次和鲜明特色!展现一个多元统一...
張小嫻她相信承諾,喜歡一切美好的東西:漂亮的衣服、美味的食物、男人的諾言。她找尋幸福,然後發現,失望,有時候,也是一種幸福。因為有所期待,才會失望。遺憾,也是一...
《跑步模式》内容简介:跑步模式会对跑者的运动表现产生决定性的影响。本书的作者基于多年的理论研究和执教顶级跑者的实践经验,系
日本漫畫家。中文作品有《爸爸與父親的家庭食堂》(青文出版)、《如果30歲還是處男,似乎就能成為魔法師》(青文出版)、《野薔薇新娘》、《玫瑰大飯店》等多數。
董建华医学文集 本书特色 董建华教授从事中医事业已60余年,先生多年来孜孜不倦、勤求博采,在继承前贤经验基础上,又于中医学理论和临床等方面颇多心得和感悟,成为具...
泰戈尔(Rabindranath Tagore,1861-1941),印度作家,诗人,社会活动家,生于地主家庭。曾留学英国。1921年创办国际大学。一生创作丰富...
张悦然,青春玉女作家,“新概念作家”中最杰出的代表人物之一。1982年出生于山东济南,2001年毕业于山东省实验中学,后考入山东大学英语、法律双学位班,现在新加...
余华,1960年4月3日生于浙江杭州,3岁时随父母迁至海盐,在海盐读完小学和中学。曾经从事过5年的牙医工作,1983年开始写作,已经完成长篇小说4部,中短篇小说...
A dictionary for a world whose cities are linked by fiber optic cables and whose...
1991年1月,云南梅里雪山发生了震惊世界的登山事故,中日友好联合登山队十七名队员遭遇雪崩,全部遇难。这是人类登山史上的第二大山难。在一百多年的现代登山史上,梅...
"One of the best books around for demystifying the deliberately mysterious arts ...
玛格丽特•杜拉斯电影及话剧剧本五种;《伊甸园影院》重新讲述奋力抵挡太平的母亲的故事;《黑夜号轮船》载着性的诱惑在夜间航行的幽灵之船《伊甸园:杜拉斯全集9》收录杜...
每个盼退休的人都该知道的保养常识如何一直保持身体健康头脑灵活美国亚马逊认知心理学、神经系统科学、成年与衰老等类目No.1诺贝尔奖得主、哈佛大学教授、美国国家科学...
约瑟夫·E. 斯蒂格利茨,全球最尖端的经济学家之一,哥伦比亚大学教授,同时担任哥伦比亚大学全球思想委员会的联合主席。2001年,因其对信息经济学的开创性工作而荣...
美国负压创面治疗技术 本书特色 负压创面治疗技术(SWCT)是当前*前沿的创面修复技术。本书用精辟简练的语言向读者详细地论述了这一技术的特征以及治疗原理,并结合...
★北京大学法学院教授贺卫方、《民主的细节》作者刘瑜、当代著名作家野夫推荐阅读。★美国两党议员人手一册,美国大中学生推荐读物。★这本书对詹姆斯•麦迪逊(美国第四任...
中医历代医话选-王新华精品医书三种 本书特色 本书是在查阅了2000多种中医药书籍的基础上, 从其中400多种医籍里选录了医话2500余则,并经分 类整理而成...