Permalink
Browse files

Add a comment about the bool() / boolean() type thing.

  • Loading branch information...
1 parent 0fd4a6e commit f5c0b3ac831c8ecc51f028c27bf6c239acfd9ab1 @oscarh committed Sep 7, 2011
Showing with 6 additions and 3 deletions.
  1. +6 −3 src/lhttpc_types.hrl
View
@@ -24,6 +24,12 @@
%%% ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
%%% ----------------------------------------------------------------------------
+%% In R13B bool() is now called boolean()
+%% I get lots of questions for this, but it will be removed when R15 comes
+%% out, before that I belive it's more useful than harmful, since it makes
+%% lhttpc compile also with older erlang releases.
+-type boolean() :: bool().
+
-type header() :: {string() | atom(), string()}.
-type headers() :: [header()].
@@ -42,6 +48,3 @@
-type socket_options() :: [{atom(), term()} | atom()].
-type window_size() :: non_neg_integer() | infinity.
-
-%% In R13B bool() is now called boolean()
--type boolean() :: bool().

0 comments on commit f5c0b3a

Please sign in to comment.