#haskell - Mon 30 Apr 2007 between 02:54 and 05:48

NY Lost Funds



naraini guess the problem is that Enum is overloaded for being both enumerable types and sequence-constructable types, and floats are the latter but not the former
MyCatVerbsOhhh yes.
LeCamaradeOkay, where do I find the instructions to build GHC on NetBSD (any Unix, alright)? I know it should start with Yhc ... right?
MyCatVerbsOf course. I like the way that potentially impossible float enumerations are handled.
narain> [1.0, 2.0 .. -1.0]
lambdabot[]
narain> [1.0, 2.0 .. pi]
lambdabot[1.0,2.0,3.0]
MyCatVerbsnarain: I mean step sizes that won't hit the far target exactly.
dolio@src Float enumFromTo
lambdabotSource not found. Just what do you think you're doing Dave?
MyCatVerbs> [0.7, 1.4 .. 3]
lambdabot[0.7,1.4,2.0999999999999996,2.8]
MyCatVerbsWow, um, three cheers for needless precision.
narain:D
pjd_MyCatVerbs: decimal approximation, rather
MyCatVerbspjd_: jah, my bad.
pjd_in fact, binary rounding, rather :)
Heffalump> fromEnum 0.7
lambdabot0
Heffalump> enumFromThenTo 0.7 1.4 3
lambdabot[0.7,1.4,2.0999999999999996,2.8]
Heffalumpick.
narainto paraphrase winston churchill, IEEE floats are the worst machine approximations of real arithmetic except for all the others that have been tried
mauke> 26^3
lambdabot17576
MyCatVerbsmauke: I like Scheme, okay? Don't judge me! ;)
mauke> product [26, 26, 26]
lambdabot17576
joelr1good morning
MyCatVerbsHERESY!
actionMyCatVerbs pokes joelr1 with a contradiction in terms.
MyCatVerbspokes joelr1 with a contradiction in terms.
joelr1MyCatVerbs: wha?
:-)
maukean oxymoron
joelr1how do you add a module loading path from within ghci?
dcouttsjoelr1: try :set -iblah
joelr1: generally most command line flags can be set in ghc using :set
hpastefoxy-om annotated "new c2hs problem" with "with newest patches" at http://hpaste.org/1618#a1
foxy-omdcoutts: ^^

Page: 2 9 16 23 30 37 44 51 58 65 72 79 86 93 100 

IrcArchive

NY Lost Funds