cmd+k|ctrl+k
cmd+k
ctrl+k
Navigation
Browse public code snippets.
Contact us about glot.io.
Read the privacy policy.
Manage snippets in your account.
Open your account settings.
Languages
Create a new Python snippet.
Create a new TypeScript snippet.
Create a new C snippet.
Create a new Rust snippet.
Create a new Java snippet.
Haskell
public
mchk2020
2020-01-23T14:51:46Z
2020-01-23T14:58:19Z
fac :: Int -> Int fac 0 = 1 fac n = product [1..n] main = do print (fac 10)