aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/sofs.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2016-05-19 08:59:45 +0200
committerHans Bolinder <[email protected]>2016-06-09 11:28:00 +0200
commitfb49e45402c0370c030ce3c128b08bccf960bf44 (patch)
treef287e8eb12c276f2412020ee7420f9c55cb96bc6 /lib/stdlib/src/sofs.erl
parent38cdb3b5131257a8cc76b8f64e32b8ecf722bdb4 (diff)
downloadotp-fb49e45402c0370c030ce3c128b08bccf960bf44.tar.gz
otp-fb49e45402c0370c030ce3c128b08bccf960bf44.tar.bz2
otp-fb49e45402c0370c030ce3c128b08bccf960bf44.zip
stdlib: Correct types and specs
Diffstat (limited to 'lib/stdlib/src/sofs.erl')
-rw-r--r--lib/stdlib/src/sofs.erl3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/stdlib/src/sofs.erl b/lib/stdlib/src/sofs.erl
index b18df2ad09..c244e06ca4 100644
--- a/lib/stdlib/src/sofs.erl
+++ b/lib/stdlib/src/sofs.erl
@@ -621,6 +621,9 @@ canonical_relation(Sets) when ?IS_SET(Sets) ->
%%% Functions on binary relations only.
%%%
+-spec(rel2fam(BinRel) -> Family when
+ Family :: family(),
+ BinRel :: binary_relation()).
rel2fam(R) ->
relation_to_family(R).