I hereby claim:
- I am abdulmuhaimin-work on github.
- I am abdulmuhaimin (https://keybase.io/abdulmuhaimin) on keybase.
- I have a public key whose fingerprint is D83D AA3D F080 FEBF 685B 770D FA3C 6860 0E7A 0A57
To claim this, I am signing this object:
-module(eleventh). | |
-export([beat/1, lose/1, result/2, tournament/2]). | |
beat(rock) -> paper; | |
beat(paper) -> scissor; | |
beat(scissor) -> rock; | |
beat(_) -> "invalide move". | |
lose(rock) -> scissor; | |
lose(scissor) -> paper; |
-module(tenth). | |
-export([doubleAll/1, even/1, product/1, zip/2, zip_with/3, zip_with_new/3, zip_new/2]). | |
% doubleAll, evens, and product | |
% doubleAll([]) -> []; | |
% doubleAll([X|Xs]) -> | |
% [ 2*X | doubleAll(Xs) ]. | |
doubleAll(X) -> |
-module(challenge). | |
-export([onLine/2]). | |
onLine(Word, Name) -> | |
{ok, File} = file:open(Name,[read]), | |
LowerWord = string:to_lower(Word), | |
Rev = get_all_lines(LowerWord,File,[],1), | |
lists:reverse(Rev). | |
get_all_lines(Word,File,Partial,Line) -> |
I hereby claim:
To claim this, I am signing this object: