Menu

Tree [b70505] default tip /
 History

Read Only access


File Date Author Commit
 docs 2025-04-25 ggb ggb [1061da] Update README
 .hgignore 2025-04-21 ggb ggb [192a44] Remove nimble_extras and add docgen
 .hgtags 2025-04-25 ggb ggb [b70505] Added tag stable for changeset 76832390c2b4
 README.md 2025-04-25 ggb ggb [768323] Updated README for stable version
 docgen.sh 2025-04-21 ggb ggb [192a44] Remove nimble_extras and add docgen
 docs.html 2024-03-19 ggb ggb [173685] Added small README
 safe_assign.nim 2025-04-21 ggb ggb [192a44] Remove nimble_extras and add docgen
 safe_assign.nimble 2025-04-21 ggb ggb [192a44] Remove nimble_extras and add docgen

Read Me

Test if safe to assign source value to target value

A couple of small helper functions that test if the target variable is capable of taking all values that might exist in the source value.

These tests are done at compile time so they do not test run time values but rather test that whatever might exist at run time will be able to be assigned no matter what value is contained therein.

Installation

    nimble install "http://hg.code.sf.net/p/nim-safe-assign/code#stable"
MongoDB Logo MongoDB