Conversation

This Tweet is from a suspended account. Learn more
Yeah, that's what I do - feels a bit hacky though, and can't really put them in patterns. Also can't use them interactively for case splitting etc. like in Agda, Idris, Haskell, etc.
1
1
Replying to and
But yeah, still super thankful for all the cool stuff that rust analyzer has already, it makes rust super nice to use! Just would be super neat if they could also pull some of the good ideas from the theorem proving/functional world too! Especially considering Rust's ML roots!
1
Replying to
I personally disable this feature (`"rust-analyzer.completion.addCallArgumentSnippets": false`), as find it more distracting than useful. Parameter info popup and completion, if done right, should work just as good as holes. Sadly, param info in code is
1
1
Hmm, still seems like it generates broken code though? Like, it produces: make::use_item(make::use_tree()) rather than something like: make::use_item(make::use_tree({! !}, {! !}, {! !})) Same goes for `match`, where this stuff becomes even more useful!
3
Show replies