1
exercism fetch csharp zipper

Zipper

Creating a zipper for a binary tree.

Zippers are a way purely functional of navigating within a data structure and manipulating it. They essentially contain a data structure and a pointer into that data structure (called the focus).

For example given a rose tree (where each node contains a value and a list of child nodes) a zipper might support these operations:

Hints

This exercise deals with custom equality. For more information see this page.

Submitting Exercises

Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the exercism/csharp/<exerciseName> directory.

For example, if you're submitting bob.cs for the Bob exercise, the submit command would be something like exercism submit <path_to_exercism_dir>/csharp/bob/bob.cs.

Submitting Incomplete Solutions

It's possible to submit an incomplete solution so you can see how others have completed the exercise.