Initialize in a lazy way a static variable with parameters.
```rust use maybestatic::maybestatic;
pub fn getip2(opt: Option<(&str, &str)>) -> Result<&'static String, &'static str> { maybestatic!(opt, String, |(addr, port)| format!("{addr}:{port}")) }
fn main() { println!("{}", getip2(Some(("hello", "world"))).unwrap()); println!("{}", getip2(None).unwrap()); } ```
Initially developed around the article in the maybeuninit blog