ps I'm on v0.4. Maybe this doesn't happen in v0.5... ?
On Thursday, 30 June 2016 15:43:40 UTC+10, [email protected] 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 >
