I have the following situation:
context order begin
ML ‹
val x = @{term ‹(≤) :: 'a ⇒ 'a ⇒ bool›}
›
end
ML ‹
x
›
Inside the context I can use x to identify terms that contain the operator ≤ of the type class order. Outside this does not work anymore since x just refers to some free variable called less_eq. How can I get around that?
Last updated: Dec 21 2024 at 16:20 UTC