#haskell - Mon 19 Feb 2007 between 01:40 and 01:52

NY Lost Funds



kc5tja:)
orbitzgoltrpoat: teh error i'mg ettin gis on teh sqrt, althouhg perhaps that would change if I did osmethign else?
actionkc5tja laughs at the tutorial
kc5tjalaughs at the tutorial
sorearkc5tja: sure it does. remember that . is dlist catenate.
allbery_b(sqrt . fromIntegral) ?
kc5tjasorear: No, it's function composition.
goltrpoattry h = (round . sqrt . fromIntegral) (size^2 - size2^2)
like i said i'm just guessing though, since i don't know what the type of polygon is
orbitzgoltrpoat: Graphics.SOE.polygon :: [Graphics.HGL.Internals.Types.Point]
Point is (Int, Int) i ebelivie
goltrpoatah ok
orbitzgoltrpoat: your changes compiles
thank you
goltrpoatcool
np
glguy> flip (foldr (:)) "this is " "a test "
lambdabot"this is a test "
Gwernhoogle flip
no?
> hoogle flip
lambdabotNot in scope: `hoogle'
jcreigh@hoogle flip
lambdabotPrelude.flip :: (a -> b -> c) -> b -> a -> c
glguy:t flip
lambdabotforall a b c. (a -> b -> c) -> b -> a -> c
actionGwern sees. the ways of lambdabot are subtle and divers indeed
Gwernsees. the ways of lambdabot are subtle and divers indeed
jcreighGwern: yeah, kinda trying. AFAIK, > and :t are the only "special" commands. Everything else has to be preceed with a @ or ?
allbery_balso :k
jcreighs/trying/tricky/
ah, see? more special cases.
allbery_bI think that's it though
Gwern:k? what does that do?
allbery_bkinds
:k Maybe
lambdabot* -> *
allbery_bbasically, describes the parameters of a type
:k RWST
lambdabot* -> * -> * -> (* -> *) -> * -> *
allbery_b:k []
lambdabot* -> *

Page: 4 11 18 25 32 39 46 53 60 67 74 81 88 

IrcArchive

NY Lost Funds