No, that is not needed.  An object which has a method `() of type
function(a:b) is assignable to a variable/formal parameter of type
function(a:b).  So just "function" will do, although in general I'd
recommend specifying the argument and return types as well, for better
static typechecking.
  • Re:... Marc Dirix
    • ... Lance Dillon
    • ... Martin Bähr
      • ... Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum
        • ... Martin Baehr
          • ... Martin Nilsson (Opera Mini - AFK!) @ Pike (-) developers forum
            • ... Martin Baehr
              • ... Martin Nilsson (Opera Mini - AFK!) @ Pike (-) developers forum
              • ... Martin Baehr
              • ... Martin Nilsson (Opera Mini - AFK!) @ Pike (-) developers forum
              • ... Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum

Reply via email to