Can someone post picturse of the late Haskell? Also, what type of dog was she?
Name:
Anonymous2008-04-15 9:21
Don't care.
So I had the most excellent dream before I woke up, this morning. I was riding through these winding roads on a bus in the north of England, surrounded by trees and greenery, and every quarter mile or so great big churches half sunk into the ground, as if they had been buried half a century ago and had risen recently in the past ten years because of pressure underground or whatnot. And some of the designs were satanic, and others looked like Matilda off the British Robot Wars. Stone and metal, all wrapped in vines and mud and moss. It was brilliant. The bus driver was a like a guide, explaining how there was at one time a load of cults funded by various underground organisations and at some time they must have been buried. There were hundreds of them.
Best dream I've ever had.
Name:
Anonymous2008-04-15 9:34
It was he, ans he was a cocker-spaniel.
Name:
Anonymous2008-04-15 9:40
s/ans/and
Name:
Anonymous2008-04-15 10:30
others looked like Matilda off the British Robot Wars
I lol'd heartily
Name:
Anonymous2008-04-15 10:47
>>1 Can someone post picturse of the late Haskell? Also, what type of dog was she? type of dog data Dog = Abruzzenhund | AfghanHound | .. | YorkshireTerrier
Prelude> let wide = lambda s: ''.join([unichr(0xfee0 + ord(c)) for c in s]).replace(unichr(0xff00), unichr(0x3000))
<interactive>:1:22: lexical error in string/character literal at character '\''
Name:
302008-05-28 18:28
>>31 cleanChars s@(c:cs) = case find (flip isPrefixOf s.fst) rep of
Just (p,r) -> r : (cleanChars.drop (length p)) s
Nothing -> cleanChar c : cleanChars cs
where cleanChar c | c >= ' ' && c <= '~' = (chr.(+0xFEE0).ord) c
cleanChar c = c
rep = [("...",'\x2026'),("?!",'\x203D'),("??",'\x2047'),
("!?",'\x2049'),("!!",'\x203C'),
("``",'\x275D'),("''",'\x275E'),
(" ",'\x3000'),("`",'\x275B'),("'",'\x275C')]
cleanChars _ = ""
>>31-34
Nice, but i prefer FIOC because it doesn't require a 300mb compiler
Name:
Anonymous2008-05-28 20:25
>>36
❝Those who would give up Essential Liberty Of Indentation to purchase a little Temporary Disk Space, deserve neither Liberty Of Indentation nor Disk Space.❞ — Benjamin Franklin
>>44
Actually, it's OIOC, the Optional Indention of the Code.
Basically, you can use either FIOC or curly brackets and semicolons. You can even mix them.
Name:
Anonymous2008-05-29 13:35
>>47
But does the indentation mean something? Because in C-like langs you can skip brackets when you have a single statement.
Name:
Anonymous2008-05-29 13:48
>>48
Dude, they use whitespace as syntax! In C, it's natural to do what you said, but in Haskell one can write
(provided that the instructions are indented to the same level)
foo = do
bar
baz
quux
quuux
instead of
main = do {foo; bar; baz; quux; quuux}
Of course, you can skip the curly brackets C-style, then
main = do {dicks}
becomes
main = do dicks
(which is just a complicated way of saying main = dicks)
>>51
I usually do it like this when it gets too much. main = bar
>> baz
>> quux
>> quuux
Name:
Anonymous2008-05-29 14:36
>>52
Now that's cool, should have said that in the first place. The linear writing exemplifies the passing of information, but it ugly.
Name:
Paul Graham!LISPHymEeU2008-05-30 0:39
>>46 you were trying to sell a singleton
Now I have two problems.
Anyway, may I interest you in Lisp the parrot? It doesn't smell like Haskell the dog, and it repeats LISP LISP LISP in a very pleasant tone. Talk about useful[1] for posting on /prog/!
________________________ 1it's important to think about LISP all the time because LISP is really the best language and LISP LISP LISP LISP LISP LISP LISP LISP LISP