Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Oct 16th, 2017
76
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.19 KB
| None
|
0
0
raw
download
clone
embed
print
report
-module(fake).
non_duplicate_random(Gen,Len) ->
?SHUFFLE(non_duplicate(Gen,Len)).
non_duplicate(Gen, Len) ->
?LET(A,
list(Len,Gen) ,
lists:usort(A)
).
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
Python | 7 min ago | 1.11 KB
Indirect Rendering Unity
C# | 13 min ago | 2.51 KB
Untitled
JavaScript | 25 min ago | 1.85 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 37 min ago | 0.39 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 37 min ago | 0.38 KB
VSCode extensions
YAML | 38 min ago | 0.85 KB
Orbit Around Object 2
C# | 51 min ago | 0.24 KB
Orbit Around Object
C# | 52 min ago | 0.18 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!