JuliaLang/julia — pull request #9487 by tanmaykm (2014-12-29 17:33:33+00:00)
Title: maybefloat & maybeint: parse string to Nullable

Introduces methods that parse a string as the indicated type and return a `Nullable` with the result instead of throwing exception:
- `maybeint{T<:Integer}(::Type{T<:Integer},s::AbstractString)`
- `maybefloat32(s::AbstractString)` and `maybefloat64(s::AbstractString)`

Ref: discussions at #9316, #3631, #5704