MCPcopy Create free account
hub / github.com/clojure-rs/ClojureRS / try_read_vector

Function try_read_vector

src/reader.rs:582–601  ·  view source on GitHub ↗

@TODO use nom functions in place of macro Tries to parse &str into Value::PersistentVector Example Successes: [1 2 3] => Value::PersistentVector(PersistentVector { vals: [Rc(Value::I32(1) ... ]}) [1 2 [5 10 15] 3] => Value::PersistentVector(PersistentVector { vals: [Rc(Value::I32(1) .. Rc(Value::PersistentVector..)]})

(input: &str)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 5

newFunction · 0.85
try_readFunction · 0.85
into_vectorMethod · 0.80
to_rc_valueMethod · 0.80
to_valueMethod · 0.45

Tested by

no test coverage detected