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 remove quite a bit of basically duplicate code everywhere, the deep nested long functions and would help standardize error messages. It should also make it easier to get a quick overview of the calls we have an what kind of arguments they take, might even be possible to generate nice help format output from it.
But there probably are some cases that make it hard to do
I wonder if its doable to write a simple spec for each call that handles this and all the other standard check things for calls (and builtins). E.g.
It would remove quite a bit of basically duplicate code everywhere, the deep nested long functions and would help standardize error messages. It should also make it easier to get a quick overview of the calls we have an what kind of arguments they take, might even be possible to generate nice help format output from it.
But there probably are some cases that make it hard to do
Originally posted by @fbs in #1646 (comment)
This should of course integrate with the existing type system, maybe in the form of a new
Function
type.The text was updated successfully, but these errors were encountered: