#haskell - Mon 19 Feb 2007 between 01:12 and 01:17

NY Lost Funds



nornagonorbitz: add more rounding :) (or fromInteger)
:t div
lambdabotforall a. (Integral a) => a -> a -> a
soreardons: patch sent
orbitzwhat does sqrt not like that?
nornagon:t sqrt
lambdabotforall a. (Floating a) => a -> a
bd_:t div
ddarius@type fromIntegral
lambdabotforall a. (Integral a) => a -> a -> a
forall a b. (Num b, Integral a) => a -> b
nornagon:t (^)
lambdabotforall a b. (Integral b, Num a) => a -> b -> a
nornagonsqrt does not take Ints.
you have to fromIntegral.
use sqrt.fromIntegral.
ivanm@type (^)
orbitzi fi change to: h = sqrt $ fromInteger (size^2 - size2^2) I get, Couldn't match expected type `Integer' against inferred type `Int'
lambdabotforall a b. (Integral b, Num a) => a -> b -> a
orbitzoh form Integral
ivanm@type (**)
lambdabotforall a. (Floating a) => a -> a -> a
pjdfalconair: these two posts by Dan Piponi might (or not) be interesting/relevant
nornagon:t (^^)
pjdhttp://sigfpe.blogspot.com/2006/11/from-l-theorem-to-spreadsheet.html
http://sigfpe.blogspot.com/2007/02/comonads-and-reading-from-future.html
lambdabotTitle: A Neighborhood of Infinity: From Löb's Theorem to Spreadsheet Evaluation, http://tinyurl.com/22eoxu
Title: A Neighborhood of Infinity: Comonads and reading from the future, http://tinyurl.com/2gjj3d
forall a b. (Integral b, Fractional a) => a -> b -> a
nornagon@botsmash
lambdabotUnknown command, try @list
kc5tja@src mod
lambdabotSource not found. Maybe if you used more than just two fingers...
kc5tjahmmm... I used 9 appendages to type that command -- I think lambdabot needs an abject lesson in cordiality.
soreardons: I've sent another patch
falconaircrap, comonads ... i have enough trouble getting through basic catamorphisms :) thanks pjd, I'll go through your references
donsthanks sorear
pjdfalconair: it's more the Lb's theorem that's relevant, not comomads :)
falconairgood, let's see if i learn any thing :)
orbitznornagon: hrmm, No instance for (Num (a -> b)) ?

Page: 5 12 19 26 33 40 47 54 61 68 75 82 89 

IrcArchive

NY Lost Funds