An Investigation of the Laws of Traversals

Computer Science – Programming Languages

Scientific paper

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

In Proceedings MSFP 2012, arXiv:1202.2407

Scientific paper

10.4204/EPTCS.76.5

Traversals of data structures are ubiquitous in programming. Consequently, it is important to be able to characterise those structures that are traversable and understand their algebraic properties. Traversable functors have been characterised by McBride and Paterson as those equipped with a distributive law over arbitrary applicative functors; however, laws that fully capture the intuition behind traversals are missing. This article is an attempt to remedy this situation by proposing laws for characterising traversals that capture the intuition behind them. To support our claims, we prove that finitary containers are traversable in our sense and argue that elements in a traversable structure are visited exactly once.

No associations

LandOfFree

Say what you really think

Search LandOfFree.com for scientists and scientific papers. Rate them and share your experience with other people.

Rating

An Investigation of the Laws of Traversals does not yet have a rating. At this time, there are no reviews or comments for this scientific paper.

If you have personal experience with An Investigation of the Laws of Traversals, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and An Investigation of the Laws of Traversals will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFWR-SCP-O-88571

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.