b3ta.com board
You are not logged in. Login or Signup
Home » Messageboard » XXX » Message 707468 (Thread)

# wot is
a haskell exam?
(, Wed 22 Jan 2003, 20:34, archived)
# has-kell
hais-kewell
high school?
(, Wed 22 Jan 2003, 20:35, archived)
# What's the
doctorates all about?
(, Wed 22 Jan 2003, 20:36, archived)
# Today is
International Dr Phil Kitten Appreciation Day.
(, Wed 22 Jan 2003, 20:46, archived)
# Right.
Special reason why? Or just felt like it?
(, Wed 22 Jan 2003, 20:50, archived)
# I think it was
Dr Lumpbuckitten wot thought of it.
(, Wed 22 Jan 2003, 20:56, archived)
# I like your explanation
best.
(, Wed 22 Jan 2003, 20:36, archived)
# Ta
but it was the only wrong one

/bottom of the class
(, Wed 22 Jan 2003, 20:38, archived)
# but it was the best one to me
and that's what counts.
(I think).
(, Wed 22 Jan 2003, 20:39, archived)
# yes
I like it too :)
(, Wed 22 Jan 2003, 20:38, archived)
# It's probably
an exam about the functional programming language...

...called haskell :-)
(, Wed 22 Jan 2003, 20:36, archived)
# Do I see bloid here?!?!?!
I thought I saw name "bloid"

/me off to wash his eyes
(, Wed 22 Jan 2003, 21:03, archived)
# phew
not just me then...
(, Wed 22 Jan 2003, 20:36, archived)
# I assume
Haskell is a general purpose, purely functional programming language. Haskell compilers are freely available for almost any computer.
(, Wed 22 Jan 2003, 20:36, archived)
# never assume...
(or something)
(, Wed 22 Jan 2003, 20:37, archived)
# what is a "functional" programming language?
A disfunctional one would be a bit of a waste of time, wouldn't it?
(, Wed 22 Jan 2003, 20:53, archived)
# A funtional programming language
is a language in which all expressions are defined in terms of functions - there are no mutable variables, so you can't store values.

Example haskell prog:

take1 _ [] = []
take1 0 _ = []
take1 n (x:xs) = x : take1 (n-1) xs

See how it looks like maths?
Thats why we CSists call it "Lame."
(, Wed 22 Jan 2003, 21:06, archived)
# how bizarre.
I don't really understand the example code at all, and I can't really see how you can do much without mutable variables. But I'm not a CS person.
Thanks for the explanation.

I am now considering developing a dysfunctional programming language though. Instead of a "Hello World" test program, you'd use a "I always hated you, mother, you fucking bitch. Fuck Off you cunt!" program...
(, Wed 22 Jan 2003, 21:11, archived)
# Beleive
me, you don't want to understand...
I spent a year struggling with haskell before I dropped out, and since then I've been stricken by a compulsion to eat acid and shout "Hoooooooooooooooooouuuuup. (pause) La!" At kittens.
(, Wed 22 Jan 2003, 21:19, archived)