Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • first, thank you. thank you. thank you.

    it seems you have transitioned perl6 development from 'smoldering' to 'blazing'... the invigorated discussions on the language list would be accomplishment enough, but clearly this is only a start...

    lucky for me, the 2 languages at the top of my list to learn for some time have been haskell and perl6 (in no particular order). your recent work has inspired me to work harder to realize this(i see the PUGS code base as a great way for me to kill 2 birds with one stone so to speak).

    i've finished a quick read of 'A Gentle Introduction...'

    i found the discussion of monads less than gentle ;) but i did find the monad tutorial at very helpful...

    now for some general questions:

    in general, are there some specific docs for newbies that you recommend reading (particularly with an eye on trying to come up to speed with the growing PUGS code base?)

    what tools do you prefer to use in your code/debug cycle?

    is a good place to peek at your codebase?

    could you please explain the '$' operator in your code or point me in the direction of some documentation (i apologize if you defined it and i missed its definition) ? it doesn't seem to be explained in the docs i've read yet about haskell 98 (btw, is that the version you are using, or are there some new features you are using?)

    any other helpful advice for a newbie? i doubt i'll get much farther than lurker mode in the near future but some day...

    thanks again for injecting some excitement into Perl 6 development.

    • ok, poking into GHC docs, it seems the answer to the '$' operator question is related to templates, and is discussed at :

      no time to absorb it just yet, but will sleep on it for now ;)

    • Hmm, I sense a need of Perl6::Pugs::FAQ...

      The use of $ is not Template Haskell... The binary operator ($) simply means "apply function"; f $ g is equivalent to f g.

      The use of $ in Haskell code is for fixing precedence. For example, to calculate f(g(3)), one can write f $ g 3, or using the function composition, as (f . g) 3, but f g 3 will not work, as it means f(g, 3).

      "Yet Another Haskell Tutorial" is a fine online tutorial. The books I'm currently reading are:

      • Algorithms : A Functional Programming