mirror of
https://github.com/logos-storage/questionable.git
synced 2026-01-03 22:33:07 +00:00
questionable/results also exports chaining and indexing
This commit is contained in:
parent
b85a8eb5c8
commit
827214f7a9
@ -1,11 +1,15 @@
|
|||||||
import std/macros
|
import std/macros
|
||||||
import ./resultsbase
|
import ./resultsbase
|
||||||
import ./options
|
import ./options
|
||||||
|
import ./chaining
|
||||||
|
import ./indexing
|
||||||
import ./operators
|
import ./operators
|
||||||
|
|
||||||
include ./errorban
|
include ./errorban
|
||||||
|
|
||||||
export resultsbase except ok, err, isOk, isErr
|
export resultsbase except ok, err, isOk, isErr
|
||||||
|
export chaining
|
||||||
|
export indexing
|
||||||
|
|
||||||
type ResultFailure* = object of CatchableError
|
type ResultFailure* = object of CatchableError
|
||||||
|
|
||||||
|
|||||||
@ -1,8 +1,8 @@
|
|||||||
import std/unittest
|
import std/unittest
|
||||||
|
import std/options
|
||||||
import std/sequtils
|
import std/sequtils
|
||||||
import std/strutils
|
import std/strutils
|
||||||
import std/sugar
|
import std/sugar
|
||||||
import pkg/questionable
|
|
||||||
import pkg/questionable/results
|
import pkg/questionable/results
|
||||||
|
|
||||||
suite "result":
|
suite "result":
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user