feat: Implement a mathematical implication

This commit is contained in:
2022-05-13 13:46:41 +02:00
parent f92bef517f
commit e24ef0c3d5
5 changed files with 24 additions and 1 deletions

4
lib/math.dart Normal file
View File

@@ -0,0 +1,4 @@
/// A mathematical implication between [a] and [b] (a -> b);
bool implies(bool a, bool b) {
return !a || b;
}

View File

@@ -2,3 +2,4 @@ library moxlib;
export "awaitabledatasender.dart";
export "automaton.dart";
export "math.dart";