def build_untyped_prim_fn(p):
  assert isinstance(p, prims.Prim), "Expected Prim but got %s" % p 
  return simple_untyped_fn(p.name, PrimCall, p.nin, [p])
Given a primitive, return an untyped function which calls that prim
dataset/ETHPy150Open iskandr/parakeet/parakeet/syntax/wrappers.py/build_untyped_prim_fn