mirror of
https://github.com/zaphar/ucg.git
synced 2025-07-23 18:29:50 -04:00
DOCS: Update documentation for selectors.
This commit is contained in:
parent
068435d80e
commit
263cccc97a
@ -159,8 +159,8 @@
|
||||
//! #### Selectors
|
||||
//!
|
||||
//! Selectors are references to a bound value in ucg. They can index arbitrarily deep into either tuples or lists.
|
||||
//! The head of a selector can be any expression that resolves to a tuple or list. Optionally a selector can also be
|
||||
//! followed by either a bareword to index a tuple field or an integer to index a list position.
|
||||
//! The head of a selector can be a tuple or list or symbol. Optionally a selector can also be followed by either a
|
||||
//! bareword to index a tuple field or an integer to index a list position.
|
||||
//!
|
||||
//! The simplest selector is just a reference to a bound value by name.
|
||||
//!
|
||||
|
Loading…
x
Reference in New Issue
Block a user