From: Siraaj Khandkar Date: Wed, 24 Dec 2014 21:21:35 +0000 (-0500) Subject: Prefix generic interface names with "gen_" X-Git-Tag: 2.0.0 X-Git-Url: https://git.xandkar.net/?a=commitdiff_plain;h=b69220d7a75faba9743d5b89b6fa40443cd39eec;p=hope.git Prefix generic interface names with "gen_" --- diff --git a/src/hope.app.src b/src/hope.app.src index e8f8be9..0e8f2f4 100644 --- a/src/hope.app.src +++ b/src/hope.app.src @@ -1,7 +1,7 @@ {application, hope, [ {description, "Higher Order Programming in Erlang"}, - {vsn, "1.9.0"}, + {vsn, "2.0.0"}, {registered, []}, {applications, [ kernel, diff --git a/src/hope_dictionary.erl b/src/hope_gen_dictionary.erl similarity index 96% rename from src/hope_dictionary.erl rename to src/hope_gen_dictionary.erl index 7930c1d..0d45ecd 100644 --- a/src/hope_dictionary.erl +++ b/src/hope_gen_dictionary.erl @@ -1,4 +1,4 @@ --module(hope_dictionary). +-module(hope_gen_dictionary). -export_type( [ t/2 diff --git a/src/hope_monad.erl b/src/hope_gen_monad.erl similarity index 92% rename from src/hope_monad.erl rename to src/hope_gen_monad.erl index f0dcb5c..9e02270 100644 --- a/src/hope_monad.erl +++ b/src/hope_gen_monad.erl @@ -1,4 +1,4 @@ --module(hope_monad). +-module(hope_gen_monad). -type t(_A) :: term(). diff --git a/src/hope_option.erl b/src/hope_option.erl index 529158d..5721628 100644 --- a/src/hope_option.erl +++ b/src/hope_option.erl @@ -1,6 +1,6 @@ -module(hope_option). --behavior(hope_monad). +-behavior(hope_gen_monad). -export_type( [ t/1 diff --git a/src/hope_result.erl b/src/hope_result.erl index 1114197..7cae0a3 100644 --- a/src/hope_result.erl +++ b/src/hope_result.erl @@ -1,6 +1,6 @@ -module(hope_result). --behavior(hope_monad). +-behavior(hope_gen_monad). -export_type( [ t/2