You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm doing a school project in which I have some types annotated with show and other plugins, as an example:
and 'a lvalue_node =
| AccVar of identifier option * identifier
| AccIndex of 'a lvalue * 'a expr (* here also expr derives show, ord, eq *)
[@@deriving show, ord, eq]
Now, I'm trying to use the corresponding show function but I get the following error:
Error: This expression has type 'a lvalue_node
but an expression was expected of type Format.formatter -> 'b -> unit
The text was updated successfully, but these errors were encountered:
I'm doing a school project in which I have some types annotated with show and other plugins, as an example:
Now, I'm trying to use the corresponding show function but I get the following error:
The text was updated successfully, but these errors were encountered: