pub(crate) fn parse_litval<'a, F>(
    litval: &'a str,
    littyp: &str
) -> Result<F, String>where
    F: FromStr,
    F::Err: ToString,