From: Siraaj Khandkar Date: Tue, 15 Jul 2014 00:29:58 +0000 (-0400) Subject: Update line breaks to a more consistent style. X-Git-Tag: 1.0.0~32 X-Git-Url: https://git.xandkar.net/?p=hope.git;a=commitdiff_plain;h=2a40de4f9404d67967ad486d7d10b354791105fe Update line breaks to a more consistent style. --- diff --git a/src/hope_option.erl b/src/hope_option.erl index 92636c9..622c06d 100644 --- a/src/hope_option.erl +++ b/src/hope_option.erl @@ -1,5 +1,6 @@ -module(hope_option). + -export_type( [ t/1 ]). @@ -23,10 +24,8 @@ put(X, F) -> ; false -> none end. - get({some, X}, _) -> X; get(none , Y) -> Y. - map({some, X}, F) -> {some, F(X)}; map(none , _) -> none. diff --git a/src/hope_result.erl b/src/hope_result.erl index 06f1eeb..a40629a 100644 --- a/src/hope_result.erl +++ b/src/hope_result.erl @@ -1,5 +1,6 @@ -module(hope_result). + -export_type( [ t/2 ]).