Conversation

This is so cool 🥰 – I want to implement it sometime! It's cool that you now have a form of labelled arguments too. Is still feel a bit disturbed by the asymmetry between function and records though, but maybe I'm just a weirdo.
1
2
I guess what I mean is that we have records with labels, but not functions with labels. Like maybe it would be silly but I sometimes imagine something like: f : { a : A, b : B -> c : C, d : D } but yeah ofc I have no idea what I'm talking about 😵‍💫
2
1
Replying to and
One thing I've idly pondered is how fields are ‘filled up’: f : { a : A, b : B -> c : C, d : D } thing : A f.{a := thing} : {b : B -> a : A := thing, c : C, d : D } f.{a := thing} : {b : B -> a : A, c : C, d : D } f.{a := thing} : {b : B -> c : C, d : D }
1
This probably breaks a bunch of stuff I don't really understand though so idk. But yeah I find it interesting how things sort of go from ‘abstract’ to ‘concrete’. But maybe you could also have: f.{a := thing} : { a : A := thing, b : B -> c : C, d : D }
1
Show replies