nrc/libhoare

Lift restrictions on patterns

Closed this issue · 1 comments

You can lift the restrictions on what patterns can be used in function arguments by creating a closure instead of an inner function. See my trace project for an example.

nrc commented

This is fixed now. I tried using a closure, but couldn't get it to work (iirc because of issues with the Self type. although perhaps I just wasn't trying hard enough). I managed to fix it with some awful hacks using loop.