in ver 0.5 how to convert to Int f.e bool or Float julia> int(rand(Bool,10)) ERROR: UndefVarError: int not defined
julia> convert(Int64,rand(Bool,10))
ERROR: MethodError: Cannot `convert` an object of type Array{Bool,1} to an
object of type Int64
This may have arisen from a call to the constructor Int64(...),
since type constructors fall back to convert methods.
Paul
