Skip to Content
Mastering Functional Programming
book

Mastering Functional Programming

by Anatolii Kmetiuk
August 2018
Intermediate to advanced
380 pages
10h 2m
English
Packt Publishing
Content preview from Mastering Functional Programming

Collecting information from the graph

Collecting information from a graph can be depicted as follows:

In the preceding illustration, the blue nodes are the ones currently being processed, the green ones are the ones that have already been processed, and the white ones are the ones not yet processed. This preceding task can be implemented as follows:

  1. Specify which URL you would like to start from, that is, the starting node from which the traversal will start.

  1. The crawler will visit the URL by issuing a GET request to it, and receive some HTML:
  1. After receiving this HTML text, the crawler will extract the edges of the current node—the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning Functional Programming

Learning Functional Programming

Jack Widman

Publisher Resources

ISBN: 9781788620796Supplemental Content