TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

The Little Typer (2018)

179 pointsby aarestad8 months ago

9 comments

ProllyInfamous8 months ago
As a retired electrician attempting hobby-level &quot;learn to code&quot; (i.e. I don&#x27;t know anything about modern programming and did not even understand anything from OP&#x27;s link), this Amazon review helped me understand OP&#x27;s link:<p>&gt;..I’ve been (slowly) working my way through The Little Typer. It’s a deep dive on dependent types, starting with the very basics and building up a toy language one step at a time. I can feel it gradually changing how I think about programming (heck, how I think about thinking).<p>&gt;..It’s really, really enjoyable. The format is very approachable, even fun. Rigorous and demanding, yet doesn’t take itself too seriously. Some lisp experience is helpful, but probably (maybe?) not necessary. But do yourself a favor and learn lisp anyway ;-)<p>Maybe some day I&#x27;ll motivate myself to even figure out how to first <i>install Racket&#x2F;Pie</i> (first, I have to figure out what even these are).<p>Thanks for the motivation&#x2F;educational resource, OP.
评论 #41682186 未加载
评论 #41682299 未加载
评论 #41687894 未加载
评论 #41686445 未加载
ahelwer8 months ago
I worked through this a few years ago and it is wonderful, but I found chapter 9 on the replace function totally impenetrable, so I wrote a blog post in the same dialogue style intended as a gentler prelude to it. A few people have emailed me saying they found it and it helped them. <a href="https:&#x2F;&#x2F;ahelwer.ca&#x2F;post&#x2F;2022-10-13-little-typer-ch9&#x2F;" rel="nofollow">https:&#x2F;&#x2F;ahelwer.ca&#x2F;post&#x2F;2022-10-13-little-typer-ch9&#x2F;</a>
评论 #41681346 未加载
kevindamm8 months ago
I liked the dialogue-driven format of this and the others in the series (I&#x27;ve read Schemer and Learner too), at least once I got used to the split-mind feel of it, but I feel it would be better as an interactive media instead of the books.<p>There&#x27;s an expectation that you&#x27;re following along and typing nearly every line into the appropriate REPL. I found this difficult to do while juggling the hardcopies and not any easier on an ebook reader -- I could stop worrying about cracking the spine but the digital copies I sampled or purchased always completely ruined the typesetting. All the REPL interactions are transcribed as images, and the constant focus-and-pinch-zoom disrupts the engagement.<p>I ended up just reading through and hoping to catch enough of the gist of things then doing my usual side-project-as-learning instrument thing. I hope somebody tries to build an interactive playground for this book or the Little Learner, complete with guiding dialog.<p>The typesetting in the hardcopies is really unique and impressive.
emmanueloga_8 months ago
For those looking for a more straightforward approach to type systems, here are two resources I like:<p>1: Terence Parr&#x27;s chapter &quot;Enforcing Static Typing Rules&quot; from Language Design Patterns.<p>2: Eli Bendersky&#x27;s Python implementation of Hindley-Milner type inference.<p>--<p>1: <a href="https:&#x2F;&#x2F;pragprog.com&#x2F;titles&#x2F;tpdsl&#x2F;language-implementation-patterns&#x2F;" rel="nofollow">https:&#x2F;&#x2F;pragprog.com&#x2F;titles&#x2F;tpdsl&#x2F;language-implementation-pa...</a><p>2: <a href="https:&#x2F;&#x2F;eli.thegreenplace.net&#x2F;2018&#x2F;type-inference&#x2F;" rel="nofollow">https:&#x2F;&#x2F;eli.thegreenplace.net&#x2F;2018&#x2F;type-inference&#x2F;</a>
kccqzy8 months ago
I bought this book when it first came out. Unfortunately this book required a time commitment greater than what I had available at that time and I didn&#x27;t finish. It&#x27;s thoroughly enjoyable (at least the first few chapters) but it requires a level of thinking that might not be available if you just finished a day of work.
Jtsummers8 months ago
Three past discussions with discussion:<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=18046745">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=18046745</a> - Sept 22, 2018 (132 comments)<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=31465368">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=31465368</a> - May 22, 2022 (23 comments)<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=33162971">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=33162971</a> - Oct 11, 2022 (96 comments)
评论 #41681604 未加载
RedNifre8 months ago
Is there an online community for this where you can ask questions? E.g. a discord server or an IRC channel?
评论 #41681657 未加载
评论 #41681654 未加载
评论 #41683486 未加载
philip-b8 months ago
I read it 2 years ago while I was sick with COVID. It was a lot of fun, it was pretty easy, but also very interesting. It was not a big time commitment. I learned a lot about dependent types. I recommend it.
ducktective8 months ago
What modern scheme is best to use for these &quot;the little x&#x27;er&quot; book series? Some of them suggest their dialect (like learner suggests Racket I think), but what about others? In short, what scheme is the most practical and useful nowadays?<p>Here is the result of my research so far, in order of preference according to the above requirements:<p>Guile: most active community, GNU glue language, Guix<p>Chicken: most pragmatic one with a package manager but older<p>Chez: most performant one, less active community and libraries
评论 #41684009 未加载
评论 #41681588 未加载
评论 #41681583 未加载
评论 #41686243 未加载
评论 #41681629 未加载
评论 #41682014 未加载
评论 #41686009 未加载
评论 #41681941 未加载
评论 #41681601 未加载