Stories
Slash Boxes
Comments
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.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • Autrijus, you are amazing!

    Smylers
  • 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
    • ok, poking into GHC docs, it seems the answer to the '$' operator question is related to templates, and is discussed at :

      http://www.haskell.org/ghc/docs/latest/html/users_guide/template-haskell.html

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

      jeff
    • 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