#haskell - Sat 21 Apr 2007 between 18:32 and 18:37



jcreighDoesn't it assume unary, and that's why we have subtract?
sorear@part #haskell
drigzsubtract is flip (-), isn't it?
> (-) 2 1
lb1
drigz> subtract 2 1
lb-1
sorearlb is going to seriously lag until it is done connecting
it IS an irc client
drigz@type (-)
lbforall a. (Num a) => a -> a -> a
drigzsorear: connecting?
nominolo:t subtract
soreardrigz: right. 2 seconds per channel joined
lbforall a. (Num a) => a -> a -> a
soreardrigz: server flood control
@botsnack
nominolo@src subtract
lb:)
subtract x y = y - x
sorear@botsnack
lb:)
sorear@botsnack
lb:)
sorear@botsnack
lb:)
nominolo@ping
jcreigh:t (4-)
lbforall t. (Num t) => t -> t
jcreigh:t (-4)
lbforall a. (Num a) => a
jcreighah, okay.
Thinking that (-4) should be a section for consistency is probably a sign of insanity, yes? :)
nominolowell, o'caml has ~
jcreighnominolo: how does that work?
nominolobut in any case it's going to be confusing
it's negation
so, just a different symbol
therefore (-x) would be a section
but, anyone not aware of sections will confuse it in any case

Page: 1 8 15 22 29 36 43 50 57 64 71 78 85 92 99 

IrcArchive