diff --git a/lib/TryExperimental/src/TryExperimental.jl b/lib/TryExperimental/src/TryExperimental.jl index cac15dc..4b8ef20 100644 --- a/lib/TryExperimental/src/TryExperimental.jl +++ b/lib/TryExperimental/src/TryExperimental.jl @@ -49,6 +49,7 @@ end # baremodule Cause module Internal +import ..TryExperimental: @and_then, @or_else using ..TryExperimental: TryExperimental, Causes using Try @@ -58,6 +59,7 @@ for n in names(TryExperimental; all = true) @eval import TryExperimental: $n end +using Base.Meta: isexpr using Base: IteratorEltype, HasEltype, IteratorSize, HasLength, HasShape include("sugars.jl") diff --git a/src/Try.jl b/src/Try.jl index 7b376f7..a88d12f 100644 --- a/src/Try.jl +++ b/src/Try.jl @@ -65,7 +65,7 @@ function or_else end module Internal -import ..Try: @and_return, @?, @and_then, @or_else, @function +import ..Try: @and_return, @?, @function using ..Try: AbstractResult, ConcreteErr, @@ -78,8 +78,6 @@ using ..Try: Try using ..Try.InternalPrelude: _ConcreteResult, _IsOkError -using Base.Meta: isexpr - include("ExternalDocstrings.jl") using .ExternalDocstrings: @define_docstrings