unison-cli-0.0.0
Safe HaskellNone
LanguageHaskell2010

Unison.Codebase.Transcript.Runner

Description

Execute transcripts.

Synopsis

Documentation

data Config Source #

Constructors

Config 

Fields

defaultConfig :: Config Source #

A reasonable set of defaults to use.

  • render transcript errors at a width of 65 chars
  • use $FZF_PATH
  • use the default credentials path

type Runner Source #

Arguments

 = String

The name of the transcript to run.

-> ByteString

The contents of the transcript to run.

-> Codebase IO Symbol Ann 
-> IO (Either Error Transcript) 

withRunner Source #

Arguments

:: MonadUnliftIO m 
=> Config

Whether to treat this transcript run as a transcript test, which will try to make output deterministic

-> Verbosity 
-> UCMVersion 
-> (Runner -> m r) 
-> m r