pub struct Opt {
pub eta: bool,
pub omit: Option<Stage>,
pub channel_capacity: Option<Option<usize>>,
pub jobs: Option<Option<usize>>,
pub files: Vec<PathBuf>,
}
Expand description
A typechecker for the lambda-Pi calculus modulo rewriting
Fields§
§eta: bool
Reduce terms modulo eta
When this is enabled,
x => t
and u
are convertible if
x => t
and y => u y
are convertible.
omit: Option<Stage>
Perform only operations until (excluding) the given stage.
channel_capacity: Option<Option<usize>>
Parse N commands in advance (∞ if argument omitted)
If this option is used, commands are parsed and checked simultaneously. If this option is given with a number N, then maximally N commands are parsed in advance. If this option is given without an extra argument, then the number of commands parsed in advance is unbounded.
Note that unbounded parsing can lead to high memory usage!
jobs: Option<Option<usize>>
Typecheck up to N commands concurrently (∞ if argument omitted)
If this option is used, type checking tasks are executed in parallel. If this option is given with a number N, then at most N type checking tasks are executed concurrently. If this option is given without an extra argument, then the number of concurrently executed tasks is determined automatically from the number of CPUs.
files: Vec<PathBuf>
Files to process (cumulative)
Every file is wrapped in a module corresponding to the file path. To read from standard input, use “-” as file name.
Implementations§
Trait Implementations§
source§impl Args for Opt
impl Args for Opt
source§fn group_id() -> Option<Id>
fn group_id() -> Option<Id>
ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Opt
impl FromArgMatches for Opt
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches ) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches ) -> Result<(), Error>
ArgMatches
to self
.source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches ) -> Result<(), Error>
ArgMatches
to self
.