Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix URL #40

Merged
merged 1 commit into from
Apr 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Try.jl: zero-overhead and debuggable error handling

[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://tkf.github.io/Try.jl/dev)
[![CI](https://github.com/tkf/Try.jl/actions/workflows/test.yml/badge.svg)](https://github.com/tkf/Try.jl/actions/workflows/test.yml)
[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://juliapreludes.github.io/Try.jl/dev)
[![CI](https://github.com/JuliaPreludes/Try.jl/actions/workflows/test.yml/badge.svg)](https://github.com/JuliaPreludes/Try.jl/actions/workflows/test.yml)
[![Aqua QA](https://raw.githubusercontent.com/JuliaTesting/Aqua.jl/master/badge.svg)](https://github.com/JuliaTesting/Aqua.jl)

Features:
Expand All @@ -17,7 +17,7 @@ Features:

For more explanation, see [Discussion](#discussion) below.

See the [Documentation](https://tkf.github.io/Try.jl/dev/) for API reference.
See the [Documentation](https://juliapreludes.github.io/Try.jl/dev/) for API reference.

## Examples

Expand Down Expand Up @@ -67,7 +67,7 @@ julia> Try.unwrap_err(err)
KeyError(:b)
```

and [more](https://tkf.github.io/Try.jl/dev/).
and [more](https://juliapreludes.github.io/Try.jl/dev/).

### Error trace

Expand Down Expand Up @@ -289,7 +289,7 @@ packages](#similar-packages) focusing on types and is reflected in the name of t
like Julia in which high-level code should be expressible without managing types.

For example, Try.jl provides [the APIs for short-circuit
evaluation](https://tkf.github.io/Try.jl/dev/#Short-circuit-evaluation) that can be used not
evaluation](https://juliapreludes.github.io/Try.jl/dev/#Short-circuit-evaluation) that can be used not
only for `Union{Ok,Err}`:

```julia
Expand Down Expand Up @@ -323,7 +323,7 @@ information about "success" and "failure."
Of course, in Julia, types can be used for controlling execution efficiently and flexibly.
In fact, the mechanism required for various short-circuit evaluation can be used for
arbitrary user-defined types by defining [the short-circuit evaluation
interface](https://tkf.github.io/Try.jl/dev/experimental/#customize-short-circuit)
interface](https://juliapreludes.github.io/Try.jl/dev/experimental/#customize-short-circuit)
(experimental).

### Dynamic returned value types for maximizing optimizability
Expand Down
4 changes: 2 additions & 2 deletions docs/instantiate.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ Pkg.develop([
PackageSpec(
name = "Try",
path = dirname(@__DIR__),
# url = "https://github.com/tkf/Try.jl.git",
# url = "https://github.com/JuliaPreludes/Try.jl.git",
),
PackageSpec(
name = "TryExperimental",
path = dirname(@__DIR__),
# url = "https://github.com/tkf/Try.jl.git",
# url = "https://github.com/JuliaPreludes/Try.jl.git",
subdir = "lib/TryExperimental",
),
])
Expand Down
2 changes: 1 addition & 1 deletion docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ makedocs(
)

deploydocs(
repo = "github.com/tkf/Try.jl",
repo = "github.com/JuliaPreludes/Try.jl",
devbranch = "main",
push_preview = true,
# Ref:
Expand Down
2 changes: 1 addition & 1 deletion lib/TryExperimental/src/docs/@tryable.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ fn(args...; kwargs...) = Err(NotImplementedError(fn, args, values(kwargs)))
```

(and auxiliary methods like [`istryable`](@ref TryExperimental.istryable)) to help the
["Easier to ask for forgiveness than permission" (EAFP)](https://github.com/tkf/Try.jl#eafp)
["Easier to ask for forgiveness than permission" (EAFP)](https://github.com/JuliaPreludes/Try.jl#eafp)
approach.

See also: [`istryable`](@ref TryExperimental.istryable).
Expand Down