We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f140a62 commit f6d68c4Copy full SHA for f6d68c4
README.md
@@ -108,3 +108,8 @@ when the callable argument has a certain type signature. One way to achieve this
108
to restrict the allowed types of the callable argument to chosen subtypes of
109
`CallableWithReturnType`. This includes `CallableWithTypeSignature`, so the entire
110
type signature, except any keyword arguments, may be accounted for.
111
+
112
+For example, a `CallableWithReturnType{Float32}` is guaranteed to return a
113
+`Float32` value, if a value is returned. A
114
+`CallableWithTypeSignature{Float32, Tuple{Float32, Float32}}` additionally
115
+guarantees to only accept exactly two `Float32` values as positional arguments.
0 commit comments