[ create a new paste ] login | about

coldgrnd

Name: Oliver Mueller
Email:
Site/Blog: http://blog.coldflake.com
Location:
Default language: Haskell
Favorite languages: Haskell, C++
About:

Saved pastes by coldgrnd:

Haskell, pasted on Feb 28:
1
2
3
4
5
import Data.Maybe(listToMaybe)
import qualified Data.Set as S

smallestNumber :: Int -> Maybe Int
smallestNumber n = listToMaybe [a + b*10 + c*100 | c <- [0..9],
...
view (18 lines, 4 lines of output)