Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Mar 24th, 2018
98
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
module SelectionSort where
import Data.List
selSort :: (Ord a) => [a] -> [a]
selSort [] = []
selSort xs = let x = minimum xs in (x:) . selSort . delete x $ xs
Add Comment
Please,
Sign In
to add comment
Public Pastes
SDL FLAC experiment
C++ | 23 min ago | 0.87 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 27 min ago | 0.39 KB
222
VisualBasic | 35 min ago | 19.97 KB
111
C# | 44 min ago | 3.26 KB
Dancer style
LScript | 48 min ago | 5.55 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 51 min ago | 0.38 KB
News April18 24
Email | 58 min ago | 28.71 KB
[6027] CrownFall Candy Shop Rewards | t.me/DO...
JSON | 2 hours ago | 19.98 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!