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...
(展开全部)
张捷,男,祖籍河北唐山,毕业于中国科学技术大学,先后从事多个行业并多有建树,现为《环球财经》副总编、国务院发展研究中心国际技术经济研究所客座研究员,中央电视台、...
网页设计师从早年的综合性工作中分化出来,形成了相对独立的专业岗位,网页设计也不再是单纯的软件应用,它衍生出了许多独立的研究方向,当网站策划、交互体验都逐渐独立之...
毕业于常青藤名校布朗大学神经学专业,并在华尔街工作多年的莱恩•莱韦斯克(Ryan Levesque)于2008年孤身前往上海创业,随身只携带了一台450美元的笔...
《中国舞蹈通史:先秦卷》内容简介:中国舞蹈史学研究的意义和任务是什么呢?无非是为了“考古以证今”,“以史明鉴”。因此,研究
This text is a cross-cultural exploration of the study of visuality and the arts...
内容简介:一次偶然的机会,少年吉姆,得到了一张海盗的藏宝图。消息传开,人们组织了庞大的探险船队,前往宝藏所在地——金银岛。就在抵达金银岛的前夜,吉姆突然发现,危...
罗伯特·格鲁丁 Robert Grudin,毕业于哈佛大学,并获得加州大学伯克利分校比较文学博士,后任教于俄勒冈大学英文系。本身为莎士比亚研究者,亦撰写小说,并...
电子电路与收音机(第二版) 内容简介 本书共分两篇:**篇为基本知识,深入浅出地介绍了电工知识及电路元件、半导体器件、基本放大电路、负反馈与振荡、集成电路常识与...
他们都出生在埃郡,年代不同,性格各异,唯一的共同点是想远远地逃离这个地方。男孩住在舅舅的农场里。他刚刚失去母亲,没有朋友,唯一的爱好是漫画。他总是戴着面罩披着斗...
musings,acollectionofpassionatepoetry,comesstraightfromtheheartonthebeautyoflife...
《药房里买得到的传世名方》内容简介:六味地黄丸、加味逍遥丸、牛黄解毒丸、藿香正气水、健胃消食片……这些耳熟能详,至今仍广为传用的中成药,你知道它们的渊源和功能主...
BENJAMIN,艺术混子。画家,写小文的。作品是两本画集:《ONE DAY》和《记得》。传统意义上画漫画的,也拿过几个画画的奖,像别人一样。所以也是个艺术家,...
《美利坚独步天下:美国是如何获得和动用它的世界优势的》按编年体的形式论述了美国对外关系的发展历程。《美利坚独步天下:美国是如何获得和动用它的世界优势的》是美国史...
雷蒙·阿隆(Raymond Aron,1905—1983),20世纪法国著名政治哲学家、社会学家。主要著作有《知识分子的鸦片》《社会学主要思潮》《阶级斗争:工业...
共同正犯研究 内容简介 共同正犯是按分工分类法所确定的一种共犯类型,是刑法学共犯理论中的一个重要范畴。本书既有纵向的学说发展史的评述,又有横向的比较研究,还运用...
TakingupwhereEmilyPostandMissMannersleftoff,DianeMapescounselsthedating-distress...
本小说是一本主要针对女性读者的文艺作品集,软精装制作,每月出版一辑。该书以“最华丽的视觉装帧,打造最华丽的阅读新世界”为口号,刊载言情、玄幻、校园等深受女性读者...
In1959JohnBackuspresentedapaperonaproposedinternationalalgebraiclanguagewhichevo...
《正义的两面(修订版)》作者积其深厚的海外博学资源与其独到的本土道德现实体察于是书,力超康德至罗尔斯一系的西方正义伦理之规范性研究范式,自辟正义之解释性研究理路...
房价这么贵,浪费空间就是在浪费金钱!生了娃先别急着买婴儿床或搬家,考虑下用超低成本改造壁橱?家里没法做功能分区? 利用时间差,复用空间。不用时把床吊起来,吃饭、...