ProScript is a statically typed, garbage-collected programming language for highly concurrent application software. It is designed primarily for web services and secondarily for command-line applications.
ProScript combines:
| pub trait Delimiter { | |
| fn find_next(&self, s: &str) -> Option<(usize, usize)>; | |
| } | |
| impl Delimiter for &str { | |
| fn find_next(&self, s: &str) -> Option<(usize, usize)> { | |
| s.find(self).map(|start| (start, start + self.len())) | |
| } | |
| } |