Skip to content

Use generator instead of callback function for eitr and vitr #8

@make-github-pseudonymous-again

Description

G.vitr( function ( u ) {
  G.eitr( u , function ( _ , v ) {
    ...
  } ) ;
} ) ;

becomes

for ( let u of V( G ) )
  for ( let [ v , _ ] of E( G , u ) )
    ...

Metadata

Metadata

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions