def reader(name):
 def _(fn):
  module_name = fn.__module__
  if module_name.startswith('hy.core'):
   module_name = None
  _hy_reader[module_name][name] = fn
  return fn
 return _

def reader ( name ) : def _ ( fn ) : module_name = fn . __module__ if module_name . startswith ( 'hy.core' ) : module_name = None _hy_reader [ module_name ] [ name ] = fn return fn return _
decorator to define a reader macro called name .