72

Hazel: A live functional programming environment with typed holes

i love it. That being said, please show some examples and screenshots on the homepage and github's Readme.

5 days agoAwtem

unfortunately the best source for examples and screenshots at the moment might be a search of my twitter feed: https://x.com/search?q=from%3Adisconcision%20hazel ... we need to update the website

4 days agodisconcision

Ok, but those are excellent screenshots-- better than most projects' official screenshot lists!

4 days agotoomim

Missed opportunity to call it "Donut". ;o)

4 days agoburnt-resistor

The live demo is super cool! https://hazel.org/build/dev/

5 days agodub_gui

Yes, especially the interactivity that it offers, while clicking around the code.

3 days agopjmlp

> typed-hole-driven development.

every hole has a type

drive the type, drive the hole

the bigger the hole, the bigger the type

4 days agoandsoitis

I only skimmed the paper, but how do holes in the type system differ from e.g. `!` in Rust or `never` in TypeScript?

4 days agoAsraelite

Never in TypeScript is the equivalent of "bottom" where a value can never appear. The type holes in hazel are for incomplete types (during development) and work more like the any type in typescript where they are consistent with every value.

3 days ago7h3kk1d

It would be incredibly interesting to see how LLM code generation would hook into this.

5 days agoeterps

This is a paper about Chat LLMs in Hazel: https://arxiv.org/abs/2409.00921

5 days agogregtc

llm hole filling ala the paper is actually live in the dev version right now (if you enter an openrouter API key in the second sidebar tab). it's slow and buggy at the moment though, it's only been running at all for the last few days

4 days agodisconcision

[dead]