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...
(展开全部)
·全悦读:红与黑 内容简介 《红与黑》原名《于连》,是法国小说家司汤达的长篇小说代表作,也是法国批判现实主义文学的奠基之作。书名中的“红”代表红色的军装,象征法...
“每一对夫妻,都试图做到忠诚不二,但最终,他们都以不同的方式败露无遗。”希区柯克的《后窗》与小说《消失的爱人》的结合体,无情揭示完美婚姻掩盖的真相。2015惊艳...
验方新编-经典医学名著 内容简介 《验方新编》是一部博载民间习用奇验良方为主而兼收医家精论治验的方书。本次整理出版的是清代梅启照增辑的二十四卷本。本书按人体从头...
《新药史话:从万能药到生命科学前沿》内容简介:《新药史话:从万能药到生命科学前沿》是关于新药科学史的科普图书,内容涉及新药
作品目录第一章 湮埋在丛林下的城市,荒芜孤凉,名字早已被世人遗忘1 发现的瞬间第二章 诸神、血腥和国王1 拨开时间的迷雾第三章
If you want to "change lives, change organizations, change the world," the Stanf...
夏葳,教师,写作者。已出版作品《诗经,这支不老的歌》《既见君子——诗经中的君子之道》《一衰烟雨任平生——苏轼传》。
黃蘭翔台灣新竹縣人。日本京都大學工學博士。現為國立台灣大學藝術史研究所副教授。
清晨,当阳光刚刚照进房间,智能厨房便开始根据你的饮食习惯和身体需求为你制作营养早餐;当你需要与陌生朋友沟通时,生成式AI助理会根据对方的性格和爱好,为你准备聊天...
布尔加科夫贡献给世界的把现实、历史、幻想、神话糅合为一体的神奇作品。魔王沃兰德扮作魔术师造访二十年代莫斯科,检视莫斯科居民的内心世界,给无神论者带来震惊和冲击;...
精彩摘录这个世界开始的时候,人类并不存在,这个世界结束的时候,人类也不会存在。我将要用一生的牛命加以描述,设法要了解的人
作品目录表格目录………………………………………(1)图表目录………………………………………(3)前言…………………………………
刘仕杰,作家、编剧、资深出版人、新媒体内容专家、音视频节目策划制作人,出版专业副编审职称。甘肃省网络作家协会副秘书长,上海华文创意写作中心甘肃省创意写作基地创始...
连谏,本名连淑香,山东高密人,现居青岛,职业作家,曾在多家报刊撰写专栏,出版有图书《迁徙的人》《门第》《家有遗产》《你好,1978》等三十多部,多部作品被改编成...
《生命的厚度》是政治哲学学者江绪林遗作集,收录了他的学术论文、书评、思想性评论、随笔、译文和部分微博文字。“一颗渴望敞开却又把自己关在生活门外的心灵,承担孤独的...
2012年3月,我获得新西兰打工旅行签证,每年中国大陆只有1000个名额,而我是幸运儿之一。2013年3月,赶在签证失效之前,我辗转来到了这个以自然纯净闻名的位...
2017-第三分册 法律 法规 经济与施工-二级注册建筑师考试教材-(第十一版) 本书特色 为方便考生复习,《二级注册建筑师考试教材》分3个分册出版。**分册包...
漫畫化!廣播劇化!日本暢銷輕小說《銀砂糖師》系列登「台」首彈少女與妖精的禁忌戀曲!悲傷卻熱血的夢想!競爭、試煉、戀愛,就是最重要的「一切」!榮獲第7回BEANS...
亦舒“独家畅销 旧欢如梦辑”收录了亦舒ZUI经典、ZUI知名的5部作品,包括《喜宝》《我的前半生》《玫瑰的故事》《圆舞》《人淡如菊》。该套书经独家授权,进行了全...
欢迎来到核辐射重灾区著名艺术家两度“介入”重大科技灾难个人直面历史艺术撞见生活...................※编辑推荐※★法国当代经典漫画精编精校,修订...