def p_fun3(p): 'fun : FUN NAME "=" FOREIGN calling QUOTE NAME QUOTE sig ARROW sig' p[0] = N.foreign(p[2], p[5], p[6], N.fndef(p[9], p[11]))
def p_fun1(p): 'fun : FUN NAME DCOLON sig ARROW sig' p[0] = N.fndef(p[2], N.sig(p[4],p[6]))
def p_fun1(p): 'fun : FUN NAME DCOLON sig ARROW sig' p[0] = N.fndef(p[2], N.sig(p[4], p[6]))