Changeset 39864 in project


Ignore:
Timestamp:
04/06/21 01:01:28 (3 weeks ago)
Author:
Kon Lovett
Message:

better example

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/5/semantic-version

    r39862 r39864  
    301301        semantic-version)
    302302
    303 (version 'a 1)
    304 ;=> #<version "a.1">
    305 
    306303(define (egg-repo-versions repo egg)
    307304  (map! (o string->version pathname-strip-directory)
     
    318315
    319316(define ver1 (version 'a 1 'b 2))
    320 ((o print version->string) ver1)
    321 ;=> "a.1.b.2"
     317
     318ver1
     319;=> #<version "a.1.b.2">
    322320(version-inc! ver1)
    323 ((o print version->string) ver1)
    324 ;=> "a.1.b.3"
     321;=> #<version "a.1.b.3">
    325322(version-dec! ver1 1)
    326 ((o print version->string) ver1)
    327 ;=> "a.0.b.3"
     323;=> #<version "a.0.b.3">
    328324</enscript>
    329325
Note: See TracChangeset for help on using the changeset viewer.