Okay, cool. Thanks for responding. Cheers,
Colin On Thursday, 30 June 2016 16:00:20 UTC+10, Jacob Quinn wrote: > > This was just fixed on master: > https://github.com/JuliaLang/julia/pull/17078 > > On Thu, Jun 30, 2016 at 1:43 AM, <[email protected] <javascript:>> > wrote: > >> Hi all, >> >> I was just wondering if the following is expected behaviour: >> >> julia> parse("true") >> true >> >> julia> typeof(parse("true")) >> Bool >> >> julia> parse(Bool, "true") >> ERROR: InexactError() >> in convert at ./bool.jl:6 >> in tryparse_internal at parse.jl:84 >> in tryparse_internal at parse.jl:136 >> in parse at parse.jl:146 >> >> >> It seems odd that the last line results in an error. Anyone know why? >> >> Cheers, >> >> Colin >> > >
