home
/
code
/
hope.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Update line breaks to a more consistent style.
[hope.git]
/
src
/
hope_option.erl
diff --git
a/src/hope_option.erl
b/src/hope_option.erl
index
92636c9
..
622c06d
100644
(file)
--- 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.
This page took
0.027042 seconds
and
4
git commands to generate.