CARVIEW |
Select Language
HTTP/2 200
date: Sat, 11 Oct 2025 09:29:46 GMT
content-type: text/html; charset=UTF-8
server: cloudflare
x-frame-options: DENY
x-content-type-options: nosniff
x-xss-protection: 1;mode=block
vary: accept-encoding
cf-cache-status: DYNAMIC
content-encoding: gzip
set-cookie: _csrf-frontend=82e7e344268a9febd4239d3f3d4b472e6cc89f52a980cb7010e4000854860721a%3A2%3A%7Bi%3A0%3Bs%3A14%3A%22_csrf-frontend%22%3Bi%3A1%3Bs%3A32%3A%22ErBYxdasZ7Odrte-M-3TRMB1vBfa2Wl8%22%3B%7D; HttpOnly; Path=/
cf-ray: 98cd55bfb9369ac4-BLR
HS-Day01 - Pastebin.com
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- hello.hs
- main :: IO()
- main = do
- putStrLn "Hello, world."
- putStrLn "Hello, from Haskell."
- -- helloname.hs
- main :: IO()
- main = do
- putStr "Enter your name: "
- name <- getLine
- putStrLn ("Hello, " ++ name)
- -- myfuncs.hs
- f :: Double -> Double
- f x = 2*x
- mysum :: Double -> Double -> Double
- mysum a b = a + b
- -- taxi.hs
- main :: IO()
- main = do
- putStr "Enter distance in km: "
- km_input <- getLine
- let km = read km_input :: Double
- let price = taxiPrice km
- putStrLn ("Taxi price: " ++ (show price))
- taxiPrice :: Double -> Double
- taxiPrice x = 2 + 1.2*x
Advertisement
Add Comment
Please, Sign In to add comment
-
⭐⭐⭐Exploit 500$ in 15 Minutes⭐⭐
Java | 1 sec ago | 0.10 KB
-
⭐✅ Exploit 2500$ in 15 Minutes⭐⭐⭐ 1
JavaScript | 1 sec ago | 0.24 KB
-
✅⭐ Make $2500 in 15 minutes ✅ NEVER SEEN BEFO...
JavaScript | 2 sec ago | 0.24 KB
-
⭐✅ Exploit 2500$ in 15 Minutes⭐⭐⭐ R
JavaScript | 3 sec ago | 0.24 KB
-
⭐⭐⭐Make $15OO in 2O minutesV E⭐⭐
Java | 12 sec ago | 0.10 KB
-
Free Crypto Method (NEVER SEEN BEFORE)⭐⭐ X
JavaScript | 12 sec ago | 0.24 KB
-
⭐⭐⭐ G2A Payment Exploit ✅ NEVER SEEN BEFORE ⭐...
JavaScript | 12 sec ago | 0.24 KB
-
Free Crypto Method (NEVER SEEN BEFORE)⭐⭐ T
JavaScript | 14 sec ago | 0.24 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