aboutsummaryrefslogtreecommitdiff
path: root/include/lib/monad.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/lib/monad.h')
-rw-r--r--include/lib/monad.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/lib/monad.h b/include/lib/monad.h
index 74db079..af5eb3a 100644
--- a/include/lib/monad.h
+++ b/include/lib/monad.h
@@ -3,9 +3,9 @@
#include <lib/bool.h>
-struct Result {
+typedef struct Result {
void* data;
bool_t success;
-};
+} Result;
#endif