Open kMutagene opened 2 months ago
@HLWeil what about static members that only have one argument?
member this.Foo() = ...
static member foo () =
fun (a: A) -> a.Foo()
or
member this.Foo() = ...
static member foo (a: A) = a.Foo()
?
Apparently we kept it consistent. Not sure though whether in this case consistency wins over special case usability.
So this one it is?
member this.Foo() = ...
static member foo () =
fun (a: A) -> a.Foo()
I hate it tbh and would rather change the existing API, but i think this is something for the backlog as of #419
Follow-up for #384 as we decided to have more fine-grained PRs/issues on this.
The ISA profile is implemented as classes, but we still need an ergonomic API to work with them programmatically (e.g. to query properties).
As per previous discussion with @HLWeil, here are some necessary implementation details: