frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

The Lisp in the Cellar: Dependent types that live upstairs [pdf]

https://zenodo.org/records/15424968
88•todsacerdoti•1y ago
Downloadable: https://zenodo.org/records/15424968/files/deputy-els.pdf

Comments

droideqa•1y ago
Sadly "deputy clojure" on Google brings no results...

The only hint is this repo[0] referenced in the paper.

[0]: https://gitlab.com/fredokun/deputy

agumonkey•1y ago
Pretty readable code
reuben364•1y ago
Thinking out aloud here.

One pattern that I have frequently used in EMACS elisp is that redefining a top-level value overwrites that value rather than shadowing it. Basically hot reloading. This doesn't work in a dependently typed context as the type of subsequent definitions can depend on values of earlier definitions.

    def t := string
    def x: t := "asdf"
    redef t := int
redefining t here would cause x to fail to type check. So the only options are to either shadow the variable t, or have redefinitions type-check all terms whose types depend on the value being redefined.

Excluding the type-level debugging they mention, I think a lean style language-server is a better approach. Otherwise you are basically using an append-only ed to edit your environment rather than a vi.

extrabajs•1y ago
I don’t see the connection to dependent types. But anyway, is ‘redef’ part of your language? What type would you give it?
reuben364•1y ago
I just wrote redef to emphasize that I'm not shadowing the original definition.

    def a := 1
    def f x := a * x
    -- at this point f 1 evaluates to 1
    redef a := 2
    -- at this point f 1 evaluates to 2
But with dependent types, types can depend on prior values (in the previous example the type of x depends on the value t in the most direct way possible, as the type of x is t). If you redefine values, the subsequent definitions may not type-check anymore.
extrabajs•1y ago
I see what you mean. But would you not experience the same sort of issue simply from redefining types in the same way? It seems this kind of destructive operation (whether on types or terms) is the issue. As someone who's used to ML, it seems strange to allow this kind of thing (instead of simply shadowing), but maybe it's a Lisp thing?
resize2996•1y ago
> EMACS elisp

I used this to write the front end for an ATM machine.

wk_end•1y ago
I've fantasized about some kind of a dependently-typed Smalltalk-like thing before, and in those fantasies the solution would be that changes would be submitted in the form of transactions - they wouldn't be live until you bundled them all together into one big change that would be fully type-checked, as you describe.
dang•1y ago
Any URL for this that we can open in a browser (as opposed to the dreaded "Content-Disposition: attachment")?
Jtsummers•1y ago
https://zenodo.org/records/15424968 - This at least takes you to a webpage where you can view the paper. If you select to download it, it still downloads of course instead of just opening in the browser.
dang•1y ago
Thanks! I've switched to that above, and put the downloadable link in the top text.
reikonomusha•1y ago
Related context: The 2025 European Lisp Symposium [1] was just wrapped a few hours ago in Zurich. There was content on:

- Static typing a la Haskell with Coalton in Common Lisp

- Dependent typing with Deputy in Clojure (this post)

- The Common Lisp compiler SBCL ported to the Nintendo Switch

- Common Lisp and AI/deep learning

- A special retrospective on Modula and Oberon

- Many lightning talks.

[1] https://european-lisp-symposium.org/2025/index.html

no_wizard•1y ago
I feel like Lisp would be an ideal language for AI development. Its exceedingly good for DSL development and pattern matching. Its already structurally like math notation as well, which I would think would lend itself to thinking how models would consume information and learn
rscho•1y ago
Well... believe it or not, some have thought of using lisp for AI for quite some time. ;-)
froh•1y ago
indeed.

Peter Norvig, 1992

Paradigms of AI Programming: Case Studies in Common Lisp

https://g.co/kgs/hck8wsE

https://en.m.wikipedia.org/wiki/Peter_Norvig

it's no coincidence Google is actively maintaining sbcl, either.

Zambyte
fithisux•1y ago
Impressive.
kscarlet•1y ago
The only option that you described is called "hyperstatic global environment".

And it is called that for a reason, it is not very dynamic :) and probably too static to the taste of many Lisp and all Smalltalk fans.

•
1y ago
Why not go all the way to the source? John McCarthy coined the term "artificial intelligence", and then invented / discovered LISP in pursuit of it in the 1950s :D
ayrtondesozzla•1y ago
https://quantumzeitgeist.com/lisp-and-the-dawn-of-artificial...

Lisp was the de facto language of artificial intelligence in the U.S. for many years. Apparently Prolog was popular in Europe (according to Norvig's PAIP)

Open-source ChatGPT Enterprise alternative, built on the Codex runtime

https://github.com/LingX-AI/LinkSense
2•snasan•3m ago•0 comments

AI has become a utility bill for Gen Z

https://www.reuters.com/markets/on-the-money/how-ai-has-become-utility-bill-gen-z-2026-11-13/
1•geox•5m ago•0 comments

Show HN: RemoteKu – Desktop Roku remote and live ECP keyboard deck for Mac/PC

https://github.com/KevinOBytes/remoteku
1•KevinBytes•7m ago•0 comments

Let Claude Code read your notes with MCP

https://sayjot.xyz/blog/claude-code-mcp-notes
2•mohakbajaj•7m ago•1 comments

FIRE says US to end efforts to curb App,s FB groups reporting on ICE activity

https://www.reuters.com/legal/litigation/free-speech-nonprofit-says-us-end-efforts-curb-facebook-...
5•anigbrowl•13m ago•0 comments

First person killed by a steam train in UK in 58 years

https://uk.news.yahoo.com/first-person-killed-steam-train-143538887.html
2•nephihaha•17m ago•0 comments

Ukraine knocks out 36% of Russia's oil refining capacity in under two weeks

https://english.nv.ua/nation/thirteen-day-drone-blitz-paralyzes-36-of-moscow-s-oil-50658616.html
12•kaycebasques•18m ago•4 comments

Howard Lutnick Has Got to Go

https://www.nytimes.com/2026/11/13/opinion/jensen-huang-nvidia-howard-lutnick-commerce.html
5•tedd4u•22m ago•2 comments

Trump 'considering sacking Lutnick' in wake of Nvidia scandal

https://www.telegraph.co.uk/us/news/2026/11/12/trump-considering-sacking-lutnick-in-wake-of-nvidi...
2•madihaa•22m ago•0 comments

Plague, gruel and bad teeth: why do people idealise the olden days?

https://www.economist.com/culture/2026/11/12/plague-gruel-and-bad-teeth-why-do-people-idealise-th...
2•Anon84•23m ago•1 comments

The Denny's where Nvidia was born has removed the sign honoring the company

https://www.nbcnews.com/tech/tech-news/dennys-nvidia-jensen-huang-california-rcna609154
4•madihaa•24m ago•2 comments

DOGE will make "rapid safety upgrades" to ATC system (2025)

https://thehill.com/policy/technology/5129134-el-musk-urges-quick-safety-upgrades-faa/
5•12_throw_away•26m ago•0 comments

Advanced Vibecoding [video]

https://www.youtube.com/watch?v=8hrnmA9XDPo
2•yuppiemephisto•27m ago•0 comments

Beyond Happy Path Engineering: Time

https://blog.gaborkoos.com/posts/2026-07-19-Beyond-Happy-Path-Engineering-Time/
2•fagnerbrack•27m ago•0 comments

Elon Musk to sign a petition to reinstate Jensen Huang

https://twitter.com/elonmusk/status/2121345211959804234
6•onmysofa•27m ago•1 comments

Every Way to Get 192GB for Local AI (Without a $9,500 Mac) [video]

https://www.youtube.com/watch?v=_e2dk4Pothw
2•peter_d_sherman•29m ago•0 comments

Ex-Nvidia CEO misled top lawyer on affair with Chinese businesswoman

https://www.reuters.com/world/china/ex-nvidia-ceo-misled-top-lawyer-affair-with-chinese-businessw...
3•InfiniteVortex•29m ago•1 comments

Devhook Pulse – EU-hosted uptime monitoring

https://pulse.dev-pulse.it/it
2•AlessandroCecco•30m ago•0 comments

With Mythos, a Fable as Old as Time

https://www.lawfaremedia.org/article/with-mythos--a-fable-as-old-as-time
2•EA-3167•31m ago•1 comments

Amtrak booking system experiencing major issues amid nationwide FAA ground stop

https://www.fox5dc.com/news/amtrak-outage-ticket-booking-faa-ground-stop-november-13-2026
58•snow_mac•36m ago•10 comments

DeepSeek V4 Pro 0813

https://artificialanalysis.ai/models/releases/deepseek-v4-pro
4•nthypes•36m ago•0 comments

DeepSeek V4 Pro 0813

https://huggingface.co/deepseek-ai/DeepSeek-V4-Pro-0813
4•nthypes•38m ago•0 comments

Show HN: Light control for MacBook charger status light (open-source)

https://github.com/Getterbetter/ember/releases/tag/v1.0.1
3•toppa33•43m ago•0 comments

Show HN: Xdoc – High-fidelity Offline PPTX viewer and pdf converter

https://structurify.io/en/playground/
5•hustcer•43m ago•0 comments

ChipAgents – The agentic foundation for semiconductor design (AI for IC design)

https://chipagents.ai/
2•peter_d_sherman•46m ago•0 comments

Show HN: Portal2Bench – Can AI agents solve Portal 2?

https://kingstonyip.com/portal2bench
3•kingsotn•47m ago•0 comments

I'm not impressed with Fable 5.2

https://corynezin.bearblog.dev/im-not-impressed-with-fable-52/
2•cochne•50m ago•0 comments

Tesla Opens Cybercab Orders to 'Select Customers' at $29,990 Plus $299 per Month

https://insideevs.com/news/815473/tesla-cybercab-pricing-sales-announced/
10•iBelieve•54m ago•4 comments

Moonshine is dead, long live Moonshine

https://petewarden.com/2026/11/12/moonshine-is-dead-long-live-moonshine/
5•Curiositry•57m ago•1 comments

Anthropic Upgrades Claude Code Projects to Run Parallel AI Workers Hands-Free

https://alphasignal.ai/news/anthropic-upgrades-claude-code-projects-to-run-parallel-ai-workers-ha...
4•toppa33•1h ago•0 comments