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...
(展开全部)
蔡康永、张亚东、姚谦、庄雅婷 鼓掌推荐!《人生需要揭穿》已陪伴过100000人。它出现在你的枕边、马桶、背包、书桌等角落,它和你一起经历复合与分手,它教会你勇敢...
The individual volumes of Sir Anthony Kennys acclaimed History of Western Philos...
约翰 P.科特年仅33岁即荣任哈佛商学院终身教授。出版了7部最畅销的商业经管类著作:《总经理》《权力与影响力》《变革的力量》《企业文化与经营业绩》《新规则》《变...
张庆捷,山西省考古研究所研究馆员、博士生导师、国务院特殊津贴专家,兼任中国社会科学院古代文明研究中心特聘研究员、山西省北朝文化研究中心主任、北京师范大学历史学院...
经方入门-手绘彩图版 本书特色 本书汇集《伤寒论》中和《金匮要略》中的方剂,除去重复的以及“方名即组成”、合方、基础方加味的方剂,共13...
ErnestWilliamHobson(1856-1933)wasaprominentEnglishmathematicianwhoheldthepositio...
本草乘雅半偈 本书特色 《本草乘雅半偈》由明末清初著名医药学家卢之颐所撰。之颐,字子繇,一字繇生,少时号昔公,又自称卢中人,浙江钱塘(今杭州市)人。作者在其父卢...
中医名家学术经验集(一)历代中风方药研究 内容简介 本文作者从事临床近20年,对中医肾病及中西医结合肾病的治疗积累了丰富的经验,曾先后在各级中医杂志上发表以肾病...
藤久:1940年出生于日本东京都。影像作家、美术制片人,日本美术学会理事。美术DVD和电视节目等影像作品的脚本和制作,活跃在广泛的领域。田中聪:1962年出生于...
第3卷:呼吸系统-奈特绘图版医学全集-原书第2版-中文翻译版 本书特色 作者以通俗易懂的形式,简明扼要地介绍了人体呼吸系统的正常解剖、生理与异常状态下的相关改变...
沧月,作家,建筑师。浙大建筑学硕士,长居于西子湖畔。金牛座,出生于星相学上被称为“织梦者”的那一天。喜欢阅读、写作、睡眠、旅行、观察和独自发呆。2002年出道,...
He’s the swashbuckling world traveler and legendary investor who made his fortun...
亦舒,生于上海。曾在《明报》任职记者及担任电影杂志采访记者和编辑。后赴英国留学,任职酒店公关部。进入香港政府新闻处担任新闻官,七年后辞职。现为全职作家及家庭主妇...
材料大辞典-第二版 本书特色 本辞典收词在10000条左右,主要包括材料科学基础、金属材料、有机材料、无机非金属材料、复合材料、新能源材料及含能材料、生物医用材...
阿尔丰斯·穆夏 Alphonse Mucha 1860—1939·国宝级艺术大师!穆夏用感性化的装饰性线条、简洁的轮廓线和明快的水彩效果创造了被称为“穆夏风格”...
行万里路,写一卷书。熊培云以记者的敏锐和学者的深度,详细记录了旅日期间的所见与所思。本书不仅梳理了日本自明治以来的思想流变,同时深入探讨了当今日本的社会结构与社...
“放开手”陪孩子科学玩耍,这就是最简单的感统训练!从零认识感觉统合,全彩图解实操版,把握孩子成长关键期,养育健康、快乐、自信的孩子!3到12岁是孩子感知、注意、...
精彩摘录微软公司成功的另一个秘密就是向未来进军,不断创新,连续创新。——引自第11页一家公司要成功创办又成功经营,并获得飞
Nicholas C.Zakas,雅虎首页的主要开发者,雅虎用户界面库(YUI)代码贡献者,擅长利用JavaScript、HTML、CSS、XML、XSLT设计...
莫晨欢,全职作家,是天马行空的射手座;爱好美食,每天都在减肥和美食的道路上左右横跳;喜欢写文,喜欢讲述新鲜有趣的故事;热衷吐槽,专注甜甜的爱情。已完结作品有《地...