cakeml icon indicating copy to clipboard operation
cakeml copied to clipboard

Add support for record selector syntax for tupes for CakeML

Open ordinarymath opened this issue 6 months ago • 0 comments

This issue is about adding support for record selector syntax for CakeML tuples. i.e. #1 (a,b). The main difficulty in implementing it is such that if a fixed tuple type is not found it should fail. examples.

fun a x = #1 x (*fails*)
fun a (x : 'a * 'b) = #1 x (*works*)

ordinarymath avatar Jul 06 '25 14:07 ordinarymath