From bcb21dd91425b19f28a9fe68e45d6ac601c525f7 Mon Sep 17 00:00:00 2001 From: LoisSotoLopez Date: Mon, 5 Feb 2024 13:13:33 +0100 Subject: [PATCH] experiment: Make evaluate_conditions specs clearer --- src/ndto_utils.erl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ndto_utils.erl b/src/ndto_utils.erl index 91cd3f4..1d97920 100644 --- a/src/ndto_utils.erl +++ b/src/ndto_utils.erl @@ -28,7 +28,8 @@ -spec evaluate_conditions(FunctionName, Conditions, EvaluateMode, IsSchemaComposition) -> Resp when FunctionName :: atom(), Conditions :: {function_condition, [FArgCondition]} | {fun_condition, [FunCondition]}, - FArgCondition :: {function(), Argument}, + FArgCondition :: {FunctionName, Argument}, + FunctionName :: atom(), Argument :: term(), FunCondition :: function(), EvaluateMode :: 'orelse' | 'andalso' | 'xor',