Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement valuable value pointer #59

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
8 changes: 7 additions & 1 deletion valuable/src/pointer.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
//! Valuable value pointer.
//! References to fields of [`Valuable`] values.
//!
//! A [`Pointer`] stores a path traversal to a particular value in a nested
//! [`Valuable`] structure. For example, a [`Pointer`] might refer to the field `z`
//! of the field `y` of the value `x`. [`Pointer`] paths can also include indices into
//! [`Listable`] and [`Tupleable`] values, in order to represent expressions like
//! `x.y[3].0`.
taiki-e marked this conversation as resolved.
Show resolved Hide resolved
//!
//! # Examples
//!
Expand Down