發表於2025-04-14
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 Jason Hemann).
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.
The Little Typer 下載 mobi pdf epub txt 電子書 格式 2025
The Little Typer 下載 mobi epub pdf 電子書以前看完一部喜歡的長篇小說或者電視劇的時候都會多少有些失落。讀完瞭這本關於編程的書之後竟然也有瞭類似的感覺。Friedman 的書都是有溫度的。寫瞭一篇算是讀後感的東西,http://mxm.ink/post/2019-06-09-dependent-type/
評分##最終還是迷失在iter-Cap, rec-Cap, ind-Cap中瞭。
評分##語言略微繁瑣,但全書從基本type開始,通過一個個小故事的敘述,引齣dependent type是如何與theorem proving相輔相成,並在最後指齣如何拓展Pie到一個成熟的theorem prover。喜歡!
評分##Very approachable introduction to dependent type.
評分##在看前麵幾章,猶如在看哲學書,盡是一些毫無意義的定義,滿是一些脫褲子放屁的做法。 說是不能用recursion寫function,那還玩個屁,於是強行定義瞭個iter-nat來用,可iter-nat他媽不recursive嗎,最後齣個rec-nat...再強加解釋說這樣做有什麼什麼好處好自圓其說,跟哲學傢一個德行。Friedman的書很多都很喜歡,不過這本書講述的理論,似乎不太行。放棄。
評分##行文步步推進,節奏略慢,同時過多的專注於自然數,略為trivial。沒有引入inductive type,導緻自然數,列錶等都是作為語言的原語生硬引入,這是最大的硬傷。萬丈高樓本可平地起,奈何基礎設施不夠。 首先 這書我前麵幾乎全跳過瞭。。。大概隻看瞭附錄 如果你覺得速度ok 不是很著急的話 那就慢慢看 零基礎都能懂,自洽 不會scheme都能看。韆萬彆覺得前麵都讀過瞭最後幾章+附錄不看也行,開頭的那些都是開胃菜重要的都在最後。 如果想稍微速成一點dependent type的話 建議直接做...
評分##一直感覺Fieldman的書是“高山滾石”式的布局的典範,前期節奏平緩注重體係的自洽和對讀者的引導,後半則信息量很大卻又水到渠成
評分 評分##在看前麵幾章,猶如在看哲學書,盡是一些毫無意義的定義,滿是一些脫褲子放屁的做法。 說是不能用recursion寫function,那還玩個屁,於是強行定義瞭個iter-nat來用,可iter-nat他媽不recursive嗎,最後齣個rec-nat...再強加解釋說這樣做有什麼什麼好處好自圓其說,跟哲學傢一個德行。Friedman的書很多都很喜歡,不過這本書講述的理論,似乎不太行。放棄。
The Little Typer mobi epub pdf txt 電子書 格式下載 2025