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

Comments

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

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

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

Why Physical AI Is Hard

https://dexterity.ai/blog/why-physical-ai-is-hard
1•devy•3m ago•0 comments

Hex1b, the .NET Terminal Application Stack

https://hex1b.dev/
2•bladeee•4m ago•0 comments

Postman: predicting spatial protein expression from pathology slides

https://strandai.com/blog/postman-early-access
1•odedfalik•5m ago•1 comments

Is AI the end of software engineering or the next step in its evolution?

https://www.theverge.com/ai-artificial-intelligence/767973/vibe-coding-ai-future-end-evolution
1•ianrahman•5m ago•0 comments

I built a protocol to catch LLMs mid-thought, before they commit to an answer

https://github.com/IvY-Rsearch/wire
1•IvY-Rsearch•6m ago•0 comments

An agent that starts learning from zero state

https://github.com/ChangweiZhou/digitalbaby
1•Pencilbard•7m ago•0 comments

Startup Idea: Make geography irrelevant when browsing the internet

1•mowcirclular•7m ago•0 comments

Mac Neo and my afternoon of reflection and melancholy

https://twitter.com/stevesi/status/2031842797838614548
1•cebert•8m ago•1 comments

'Convincing' AI scams drove UK fraud cases to record 444,000 last year

https://www.theguardian.com/money/2026/mar/12/ai-scams-uk-fraud-artificial-intelligence-mobile-ba...
1•chrisjj•8m ago•0 comments

Show HN: Gitingest for Jupyter Notebook Accessibility

https://jupycheck.vercel.app/
1•deviscold•10m ago•0 comments

David Foster Wallace: This Is Water (2005)

https://fs.blog/david-foster-wallace-this-is-water/
2•vermilingua•11m ago•0 comments

Plan to Unblock Strait of Hormuz Collides with Realities of Global Insurance

https://www.wsj.com/finance/u-s-plan-to-unblock-strait-of-hormuz-collides-with-realities-of-globa...
3•petethomas•13m ago•0 comments

One of Grammarly's 'experts' is suing the company over its AI feature

https://www.theverge.com/ai-artificial-intelligence/893451/grammarly-ai-lawsuit-julia-angwin
3•october8140•21m ago•0 comments

MiniGTD: GTD but Smol

https://nekolucifer.substack.com/p/minigtd-gtd-but-smol
2•andai•25m ago•1 comments

Show HN: Nonna – code slop detector that runs in the browser

http://www.babush.me/nonna/
2•babush•27m ago•0 comments

The future of social media is about you not an app

https://eurosky.leaflet.pub/3mgnjewfva22q
3•doener•30m ago•0 comments

He Tried to Stop Adobe from Training Its AI on His Photo Library – He Lost

https://petapixel.com/2026/03/11/he-tried-to-stop-adobe-from-training-its-ai-on-his-photo-library...
2•jonah•32m ago•0 comments

I've Hesitated to Call Donald Trump a Fascist. Until Now (2021)

https://www.newsweek.com/robert-paxton-trump-fascist-1560652
5•abdelhousni•32m ago•1 comments

Iran-linked group claims responsibility for Stryker (medical) cyberattack

https://www.detroitnews.com/story/business/2026/03/11/stryker-hit-by-suspected-iran-link-cyberatt...
2•cebert•33m ago•1 comments

Agent Failures Don't Start Where They Appear

https://www.vichoiglesias.com/writing/agent-failures-dont-start-where-they-appear
1•vichoiglesias•33m ago•0 comments

Gathering Structures (2024)

https://maggieappleton.com/gathering-structures
1•Sir_Twist•33m ago•0 comments

EuroSky Issue with Posts and Reactions

https://bsky.app/profile/eurosky.social/post/3mgszz2tisk2a
1•doener•35m ago•0 comments

The $38.9T national debt is costing you extra dollars per year on your mortgage

https://fortune.com/2026/03/11/national-debt-costs-homeowners-trump-tax-cuts-mortgage-rates/
4•loveseekintruth•38m ago•0 comments

Interface Hall of Shame (2000)

http://hallofshame.gp.co.at/shame.htm
1•GaryBluto•39m ago•0 comments

Atlassian cuts another 1,600 jobs amid AI shakeup

https://www.forbes.com.au/news/investing/atlassian-cuts-another-1600-jobs-amid-ai-shakeup/
2•Cub3•41m ago•2 comments

Google Antigravity IDE rug pulls its quotas

https://old.reddit.com/r/google_antigravity/comments/1rr7vr4/did_the_quotas_change_again/
6•cft•42m ago•2 comments

Show HN: NowPages – Free "now page" generator, no sign-up, pure HTML output

https://nowpages.github.io
1•vipinkashyap•42m ago•0 comments

Your 401(k) could shrink due to climate risks, a new lawsuit argues

https://www.fastcompany.com/91503468/your-401k-could-shrink-due-to-climate-risks-a-lawsuit-argues...
2•fermier•43m ago•0 comments

Ask HN: How do we build a new Human First online community in the LLM age?

3•bluefirebrand•44m ago•1 comments

30k Tok/S (Allegedly)

https://www.percepta.ai/blog/can-llms-be-computers
1•E-Reverance•44m ago•1 comments