In the MAT_v5.jl of MAT Package, I’ve seen the following definition
type Matlabv5File <: HDF5.DataFile
ios::IOStream
swap_bytes::Bool
varnames::Dict{String, Int64}
Matlabv5File(ios, swap_bytes) = new(ios, swap_bytes)
end
But after I went through the julia syntax documentation, I didn’t find any that can define a composite type using “type…end”. Isn’t is supposed to be “struct…end”? Does the author of the package define his own keyword? Could any explain this? Thanks.