1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
//! # xdm::construct
//!
//! A sequence constructor.
//use std::rc::Rc;
use crate*;
use crate*;
// Constructor for one item
// The constructor for a sequence is a vector of this struct
// Constructor function for a literal item
// data is the static input to the constructor
// name is the node name to use
// This implementation is pretty simple: just return a singleton sequence with the supplied item