Camelia, the Perl 6 bug

IRC log for #ironperl, 2009-03-02

| Channels | #ironperl index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
02:10 diakopter declarative lambdas in C#3.  should prove useful: FuncOnInt fact_int = ((inthof)(f => (x => (x < 2 ? 1 : x * (f(x - 1)))))).YCombinator<int>();  Console.WriteLine(fact_int(23));
02:12 diakopter I should clarify
02:12 diakopter declarative, leak-free, lambdas.
02:14 diakopter and *recursive*
13:52 cj :)
13:52 cj sorry, was afk this weekend, mostly.
15:15 diakopter ah
15:15 diakopter hi
15:30 cj :)
15:31 diakopter get this
15:32 diakopter nearly all my C# code... I'm creating as extension methods on the widest classes possible (usually System.Object but sometimes parametrically polymorphic - generic)..
15:33 diakopter extension methods are the coolest.
15:33 diakopter it's, like, a way easier way to do the dynamicobject stuff the dlr does
15:33 diakopter when *everything* is IConvertible<the_world> and IComparable<the_world> :)
15:34 diakopter and IEverything<the_world> for that matter
15:37 diakopter you don't like that?  doesn't sound good to you?
16:11 diakopter :P
18:35 cj heh, I'm just nose to the grindstone
18:36 cj I don't know what the cost of using extension methods is.  I haven't even figured out what they are yet... hooks in the type system to do things when instantiated, read, written?  like perl's Tie stuff?
18:39 diakopter essentially AUTOLOAD
18:39 diakopter except typesafe.
18:39 diakopter unless you extend Object and do lots of .UnsafeCast<blahblah>() :)
18:42 diakopter well, I guess it's not exactly AUTOLOAD.  it's really just semantic sugar.. adding methods that look like instance methods but they're really not; they're static methods that are added to the GLOBAL namespace.  and typechecked.
18:42 diakopter but you can use it for AUTOLOAD :P
19:08 cj alrighty
19:08 cj the person whom I'm trying to reach is currently unavailable.
19:08 * cj pokes skype in the eye

| Channels | #ironperl index | Today | | Search | Google Search | Plain-Text | summary