either

package
v1.0.39 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ParseAndValidateContract = F.Flow2(
	ParseContract,
	E.Chain(T.ValidateContract),
)

ParseAndValidateContract parses the contract into a validated strongly typed data structure

Functions

func ParseContract

func ParseContract(data []byte) E.Either[error, T.AnyMap]

ParseContract converts a []byte into a map trying to write this in functional style breaks the runtime

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL