Skip to content

Commit

Permalink
experiment: Make evaluate_conditions specs clearer
Browse files Browse the repository at this point in the history
  • Loading branch information
LoisSotoLopez committed Feb 5, 2024
1 parent ab947ab commit bcb21dd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ndto_utils.erl
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit bcb21dd

Please sign in to comment.