Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Type in GHC and shit bricks

Name: Anonymous 2009-04-14 9:44

Prelude> 2^182023232

Name: Anonymous 2009-04-14 10:19

Prelude> 2^182023232
stack overflow


k

Name: Anonymous 2009-04-14 10:20

Nothing happened

Name: Anonymous 2009-04-14 11:56

>>2
Welcome to Haskell


Prelude> reverse [1..10]
stack overflow

Name: Anonymous 2009-04-14 12:23

A fatal error occured!
Thanks for your contribution, but it was too large.
ghci> 2 ^ 100000
<output snipped>
(0.09 secs, 12019656 bytes)

Powered by Shiichan 3955 + 4chan 20080608.

Name: Anonymous 2009-04-14 12:51

>>4
Prelude> reverse [1..10]
[10,9,8,7,6,5,4,3,2,1]
Prelude>


Get a real RAM.

Name: Anonymous 2009-04-14 13:52

I have executed his calculation and stored it into a file. I'm uploading it to rapidshit in case someone needs it.

Name: Anonymous 2009-04-14 14:12

>>4
lmfao

Name: Anonymous 2009-04-14 20:40

>>4
That's because Haskell considers all real numbers in betrreen 1.0 and 10.0

Name: Anonymous 2009-04-14 20:54

>>8,9
Install ghc

Name: Anonymous 2009-04-14 23:17

Prelude> succ 1.1
2.1


For the record, Haskell is broken.

Name: Anonymous 2009-04-14 23:41

>>11
what would you want succ to do in that case? something other than what the manual says it's supposed to do?

Name: Anonymous 2009-04-14 23:49

>>12
Real numbers aren't enumerable.

Name: Anonymous 2009-04-15 0:25

>>13
Floating point numbers are enumerable.

Name: Anonymous 2009-04-15 0:56

>>14
Indeed. And succ 1.1 :: Float is not 2.1 by any stretch of the imagination.

Name: Anonymous 2009-04-15 1:07

>>13

Prelude> :i Double
data Double = GHC.Types.D# GHC.Prim.Double#
      -- Defined in GHC.Types
instance Enum Double -- Defined in GHC.Float
...


>>15
What is it then?  1.1 + ε where ε is required by Fractional?
Haskell Num is said to be broken, but it's still much much better than what I see in other languages.

Name: Anonymous 2009-04-15 4:12

>>16
GHCi, version 6.10.1: http://www.haskell.org/ghc/  :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer ... linking ... done.
Loading package base ... linking ... done.
Prelude> 1.1 + ε

<interactive>:1:6: Not in scope: `╬╡'

Name: Anonymous 2009-04-15 4:56

>>1
Motherfucker froze my PC when I had a rapidshare download going

Name: Anonymous 2009-04-15 5:31

>>1
VIRUS PLZ BAN!!!

Name: Anonymous 2009-04-15 16:33

>>16
What is it then?
It should either increment the exponent bias or just error out because it doesn't really make sense for floats to be enumerable.
Haskell shouldn't just be better than other languages; it should be actually good.

Name: Anonymous 2009-04-15 18:10

>>19
What's that, kiddo? Did you just run that command and are now butthurt because of your own stupidity? Faggot.
Kids like you make me FUCKING RAGE.

Name: Anonymous 2009-04-15 18:57

This is incredible.

>>19, being a troll, causes >>21, being an entirely different troll, to "rage."

>>22, believing >>21 is being serious, is being trolled by metatrolling trolls.

Name: Anonymous 2009-04-15 19:15

>>22
POST REPORTED: I have reported this post to the authorities for a flagrant breach of /prog/ etiquette.
REASON: Violation of rule:

17(a)(ii) Trollee Notification Protocol
It is the sole prerogative of the Troller to inform the Trollee that they have, in point of fact, been Trolled. The conventional format is the use of the text ``YHBT'' in ``spoiler'' tags but creative BBCode use is, as ever, encouraged.

Please do try to keep these simple rules in mind and preserve /prog/ as a pleasant place to troll. Without the hard work and creativity of our trolls there would be no /prog/ for us all to enjoy, so please do let them have their little reward of YHBT.

Name: Trollbot9000 2009-07-01 8:01

squares i j 1 cons j items.

Name: ​​​​​​​​​​ 2010-10-22 12:10

Name: Anonymous 2011-02-03 3:16

Name: Anonymous 2011-02-04 17:04

Don't change these.
Name: Email:
Entire Thread Thread List