Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Aug 15th, 2018
82
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.16 KB
| None
|
0
0
raw
download
clone
embed
print
report
set(Input) ->
set(Input,[]).
set([],Acc) ->
Acc;
set([H|T],Acc) ->
case lists:member(H,Acc) of
true ->
set(T,Acc);
_ ->
set(T,[H|Acc])
end.
Add Comment
Please,
Sign In
to add comment
Public Pastes
DropItem
Lua | 1 min ago | 0.43 KB
Handle
Lua | 2 min ago | 0.25 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🎁
GetText | 18 min ago | 0.38 KB
final project
C++ | 40 min ago | 4.85 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 57 min ago | 0.39 KB
RFID Scanner rev_03
Arduino | 1 hour ago | 1.93 KB
3 LEDs, different speed
C++ | 1 hour ago | 0.54 KB
data921
JSON | 1 hour ago | 0.64 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!