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
It would be useful to have some hooks so that the typechecker can be inspected in examples.
As a first guess, the typechecker hooks would be functions of the following form:
__typecheck_HOOK(args...)
As a first example, a simple printer for inferred types would be very useful:
__typlecheck_infer(<expr>)
would print in the output the inferred type of <expr>
Also a simple log printer:
__typecheck_log(args...)
simply prints the args (str(arg1) + str(arg2) + ...)
The text was updated successfully, but these errors were encountered:
It would be useful to have some hooks so that the typechecker can be inspected in examples.
As a first guess, the typechecker hooks would be functions of the following form:
As a first example, a simple printer for inferred types would be very useful:
would print in the output the inferred type of
<expr>
Also a simple log printer:
simply prints the args (
str(arg1) + str(arg2) + ...
)The text was updated successfully, but these errors were encountered: