pub fn into_prolog_result(b: bool) -> PrologResult<()>
Expand description

Turn a boolean into a prolog result.

True will become Ok(()), and false will become Err(PrologError::Failure).