parameters: (s)
return_statement: return Stream(s.first, compute_rest)
docstring: 求素数
docstring_summary: 求素数
docstring_tokens: 求素数
function: def primes(s):
      """求素数"""
      def not_div(x):
          return x % s.first != 0
      def compute_rest():
          return primes(filter_stream(not_div, s.rest))
      return Stream(s.first, compute_rest)
function_tokens: def primes ( s ) : def not_div ( x ) : return x % s . first != 0 def compute_rest ( ) : return primes ( filter_stream ( not_div , s . rest ) ) return Stream ( s . first , compute_rest )