feat: Implement a mathematical implication
This commit is contained in:
4
lib/math.dart
Normal file
4
lib/math.dart
Normal file
@@ -0,0 +1,4 @@
|
||||
/// A mathematical implication between [a] and [b] (a -> b);
|
||||
bool implies(bool a, bool b) {
|
||||
return !a || b;
|
||||
}
|
||||
@@ -2,3 +2,4 @@ library moxlib;
|
||||
|
||||
export "awaitabledatasender.dart";
|
||||
export "automaton.dart";
|
||||
export "math.dart";
|
||||
|
||||
Reference in New Issue
Block a user