Fork me on GitHub
#squint
<
2024-03-30
>
martinklepsch13:03:47

Bit of a random thought, but have you considered embedding squint in cherry? I’m thinking like a ^squint type hint on defn and you’d get squint semantics in the body? Is this crazy? 😀

borkdude14:03:27

Yeah, that's theoretically possible :)

martinklepsch14:03:21

Coooool. And is it crazy? 😂

martinklepsch14:03:32

I’m imagining a clj-kondo linter on top that warns you when you use cherry-only type access on a return value from one of those functions

borkdude14:03:05

it's not crazy, I'll keep it in mind :)