Commit 4632f6a4 authored by Miroslav Kratochvil's avatar Miroslav Kratochvil
Browse files

do not export Maybe type to avoid name conflicts

Maybe should *not* be defined by SBML.jl, rather by Base or some other standard
package, but we need it nevertheless. Exporting it means that other packages
will have problems with their own redefinitions of Maybe because name
conflicts. So just do not export it, leave others to redefine it or manually
copy it out, using `const Maybe = SBML.Maybe`.
parent a889fa89
......@@ -11,6 +11,6 @@ include("utils.jl")
sbml = (sym::Symbol) -> dlsym(SBML_jll.libsbml_handle, sym)
export SBMLVersion,
readSBML, Model, Maybe, UnitPart, Species, Reaction, getS, getLBs, getUBs, getOCs
readSBML, Model, UnitPart, Species, Reaction, getS, getLBs, getUBs, getOCs
end # module
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment