frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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•12mo ago
Downloadable: https://zenodo.org/records/15424968/files/deputy-els.pdf

Comments

droideqa•11mo 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•11mo ago
Pretty readable code
reuben364•11mo 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•11mo 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•11mo 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•11mo 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•11mo ago
> EMACS elisp

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

wk_end•11mo 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.
kscarlet•11mo 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.

dang•11mo ago
Any URL for this that we can open in a browser (as opposed to the dreaded "Content-Disposition: attachment")?
Jtsummers•11mo 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•11mo ago
Thanks! I've switched to that above, and put the downloadable link in the top text.
reikonomusha•11mo 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•11mo 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•11mo ago
Well... believe it or not, some have thought of using lisp for AI for quite some time. ;-)
froh•11mo 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•11mo 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•11mo 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)

fithisux•11mo ago
Impressive.

A 0-click exploit chain for the Pixel 10

https://projectzero.google/2026/05/pixel-10-exploit.html
1•happyhardcore•35s ago•0 comments

Giovanni Sartori – Guidelines for concept analysis [pdf]

https://is.muni.cz/el/fss/podzim2019/POLn4002/um/Sartori_Guidelines_for_Concept_Analysis.pdf
1•__patchbit__•48s ago•0 comments

AI is wiping out entry-level jobs

https://fortune.com/2026/05/15/ai-entry-level-jobs-higher-education-experience-gap/
1•Brajeshwar•2m ago•0 comments

Aether Mind – on-chain neural cognitive engine on a quantum-VQE L1

https://huggingface.co/QuantumAI-Blockchain/QuantumAI-Blockchain
1•BlockArtica•2m ago•0 comments

Pitch deck and slides are they 2 different things?

1•AkumaCheisa•3m ago•0 comments

Qwen-Image-2.0 Technical Report

https://arxiv.org/abs/2605.10730
1•gmays•3m ago•0 comments

Show HN: Ane, a new chord-based terminal code editor with one-shot CLI edits

https://github.com/prettysmartdev/ane
1•cohix•5m ago•0 comments

The Wonders of AI: We Are Retiring Our Bug Bounty Program

https://turso.tech/blog/the-wonders-of-ai
2•tjek•7m ago•0 comments

Neanderthal dentists used stone drills to treat cavities nearly 60k years ago

https://phys.org/news/2026-05-neanderthal-dentists-stone-drills-cavities.html
1•gmays•7m ago•0 comments

Control your Mac with voice and hand gestures

https://tomyang-tz.github.io/Gstrl/
1•motgnay•9m ago•0 comments

8 Years at Atlassian [video]

https://www.youtube.com/watch?v=55pTFVoclvE
1•celadevra_•9m ago•0 comments

Graphing Scientific Calculator Based on the ESP32

https://github.com/El-EnderJ/NeoCalculator
1•uticus•10m ago•0 comments

Amazon workers under pressure to up their AI usage–so they're making up tasks

https://www.fastcompany.com/91541586/amazon-workers-pressured-to-up-ai-use-extraneous-tasks
3•hackernj•11m ago•1 comments

The AI layoffs end in 12 months and I know why [video]

https://www.youtube.com/watch?v=doI1GYZ7r-w
2•carlos-menezes•11m ago•0 comments

High dimensional geometry transforming the MRI industry(2017) [pdf]

https://www.ams.org/government/DonohoPresentation06-28-17Final.pdf
2•nill0•14m ago•0 comments

Utopia and Historical Actions

https://vmchale.com/static/serve/utopia-historical-action.html
1•vmchale•14m ago•0 comments

Show HN: Wyndup – share a live countdown with your podcast guest

https://wyndup.net
1•ardwino•15m ago•0 comments

Ask HN: How are you using AI?

1•bmaupin•15m ago•0 comments

X to block UK access to accounts linked to terrorist groups in Ofcom agreement

https://www.theguardian.com/technology/2026/may/15/x-ofcom-agreement-block-uk-access-accounts-lin...
1•chrisjj•16m ago•0 comments

Revswap.ai: Trade Dollars with other startups. Book it as revenue

https://www.revswap.ai/#how
1•CGMthrowaway•16m ago•0 comments

Air Power Against Mobile Targets and Missiles

https://secretaryrofdefenserock.substack.com/p/square-peg-in-a-round-hole-airpower
1•mauvehaus•16m ago•0 comments

Show HN: PileaX – AI Chat and note and book Library, all-in-one KnowledgeBase

https://github.com/pileax-ai/pileax
2•pileax•16m ago•0 comments

AI Writing Hits a Ceiling

https://www.axios.com/2026/05/15/human-vs-ai-written-articles
1•Brajeshwar•18m ago•0 comments

#1 on the leading AI memory benchmark using a smaller, cheaper model

https://exabase.io/research/exabase-achieves-state-of-the-art-on-longmemeval-benchmark
2•johnnymakes•20m ago•1 comments

WxRuby3: A cross-platform GUI library for Ruby

https://github.com/mcorino/wxRuby3/
1•thunderbong•24m ago•0 comments

Ask HN: Still No Robots for Chores?

1•julienreszka•26m ago•0 comments

Sam Kieth, Creator of Surreal Comic Book Series the Maxx, Dies at 63

https://www.nytimes.com/2026/03/26/arts/sam-kieth-dead.html
1•franze•26m ago•0 comments

Fungus-powered farming delivers higher yields and better-tasting crops

https://phys.org/news/2026-05-fungus-powered-farming-higher-yields.html
1•thinkcontext•26m ago•1 comments

Dream of the Red Chamber

https://en.wikipedia.org/wiki/Dream_of_the_Red_Chamber
1•doener•28m ago•0 comments

Show HN: Guess the GitHub repo from a code snippet

https://www.codeguesser.xyz
1•grantz_graf•31m ago•0 comments