Changeset 7788

Show
Ignore:
Timestamp:
10/31/05 01:06:57 (3 years ago)
Author:
azuroth
Message:

Fixed some grammaticos and wrongness in documentation

Files:
3 modified

Legend:

Unmodified
Added
Removed
  • docs/src/Junc.kwid

    r5284 r7788  
    4949 
    5050`js` and `vs` are defined by a call to `partition`, which takes a 
    51 list of elements and returns a list in which the first list is those 
    52 elements which satisfied a predicate and the second list is those 
    53 which failed. So, `js` turns out to be all elements which are the 
     51list of elements and returns a pair of lists in which the first list 
     52is those elements which satisfied a predicate and the second list is 
     53those which failed. So, `js` turns out to be all elements which are the 
    5454same as the type we passed in and `vs` are the ones which are not the 
    5555same type. How does `sameType` work? The call to sameType is using 
  • docs/src/Junc.pod

    r5284 r7788  
    4949 
    5050C<js> and C<vs> are defined by a call to C<partition>, which takes a 
    51 list of elements and returns a list in which the first list is those 
    52 elements which satisfied a predicate and the second list is those 
    53 which failed. So, C<js> turns out to be all elements which are the 
    54 same as the type we passed in and C<vs> are the ones which are not the 
    55 same type. How does C<sameType> work? The call to sameType is using 
     51list of elements and returns a pair of lists in which the first list 
     52is those elements which satisfied a predicate and the second list is 
     53those which failed. So, C<js> turns out to be all elements which are 
     54the same as the type we passed in and C<vs> are the ones which are not 
     55the same type. How does C<sameType> work? The call to sameType is using 
    5656pattern matching. C<VJunc>, if you look in F<AST.hs>, is part of some 
    5757punnery being used in the C<Val> enumerated set type. VJunc is both a 
  • lib/pugs/hack.pod

    r7597 r7788  
    161161    |   |-- Class-Events       Redesign of Perl 5's Class::Publisher 
    162162    |   |-- Date               Date/calendar calculations 
    163     |   |-- Grammars           Perl 6 grammer written as Perl 6 rules 
     163    |   |-- Grammars           Perl 6 grammar written as Perl 6 rules 
    164164    |   |-- JavaScript-FrontEnd  JavaScript Frontend 
    165165    |   |-- org.perl6.metamodel  Prototype Perl 6 metaclass model: Java