File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ use std::iter::FromIterator;
4
4
use std:: rc:: Rc ;
5
5
6
6
use crate :: value:: { ToValue , Value } ;
7
+ use crate :: persistent_list_map:: PersistentListMap ;
8
+ use crate :: traits;
7
9
use std:: hash:: Hash ;
8
10
9
11
#[ derive( Debug , Clone , PartialEq , Hash ) ]
@@ -66,6 +68,18 @@ impl ToPersistentList for Vec<Rc<Value>> {
66
68
self . into_iter ( ) . collect :: < PersistentList > ( )
67
69
}
68
70
}
71
+ impl traits:: IMeta for PersistentList {
72
+ fn meta ( & self ) -> PersistentListMap {
73
+ // @TODO implement
74
+ PersistentListMap :: Empty
75
+ }
76
+ }
77
+ impl traits:: IObj for PersistentList {
78
+ fn with_meta ( & self , meta : PersistentListMap ) -> PersistentList {
79
+ // @TODO implement
80
+ self . clone ( )
81
+ }
82
+ }
69
83
impl fmt:: Display for PersistentList {
70
84
fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
71
85
let str = match self {
You can’t perform that action at this time.
0 commit comments