Results for “Std.Intern.Pool”
7 matching declarations
Use module:Std.List, kind:fn, or is:exact. Put a Pudu type after ::.
- Std.Intern.Pool
A persistent, session-local spelling table. Thread returned pools forward.
- Std.Intern.empty
Std.Intern.PoolA pool holding no text.
- Std.Intern.intern
&Std.Intern.Pool -> Str -> (Std.Intern.Pool, Int)Preserve an existing ID or append the spelling and return the updated pool.
- Std.Intern.internAll
&Std.Intern.Pool -> &Array[Str] -> (Std.Intern.Pool, Array[Int])Intern in input order, preserving one ID per input occurrence.
- Std.Intern.lookup
&Std.Intern.Pool -> Str -> Option[Int]Look up a spelling and check that the indexed ID still names that spelling.
- Std.Intern.resolve
&Std.Intern.Pool -> Int -> Option[Str]Resolve a pool-local ID, refusing negative and out-of-range values.
- Std.Intern.size
&Std.Intern.Pool -> IntHow many distinct pieces of text the pool holds.
